Fig
Blog
Sign in
Blog

Overview

Getting Started
Fig for Teams

Private Autocomplete

Get Started Specs for Teams Specs for Local Scripts Specs for Package.json Scripts

CLI Framework Integrations

Automatically Generate a Spec
Autopublish with Github

Reference

Subcommand Option Argument
Suggestion
Generator
Other

Concepts

CLI Skeleton Dynamic Suggestions Advanced Specs

Other

How do I view logs? How does Fig load specs? How does Fig execute shell commands? How can my spec account for different versions of a CLI?

Docs›_intros›Subcommand

Subcommand

Used to define subcommands under a main command.

For example, within git commit, commit is a subcommand of git.

Subcommands can also be nested within subcommands.

Properties

On this page

  1. Subcommand
    1. Properties
      1. name
      2. subcommands
      3. requiresSubcommand
      4. options
      5. args
      6. filterStrategy
      7. additionalSuggestions
      8. loadSpec
      9. generateSpec
      10. parserDirectives
      11. cache
      12. displayName
      13. insertValue
      14. replaceValue
      15. description
      16. icon
      17. isDangerous
      18. priority
      19. hidden
      20. deprecated
      21. previewComponent

Products

  • Scripts
  • Autocomplete
  • Dotfiles & Secrets
  • Fig AI
  • Access
  • Plugin Store
  • Manual Pages

Social

  • Twitter
  • Github
  • Discord

Resources

  • User Manual
  • Documentation
  • Debug

Company

  • Contact us
  • Privacy Policy
  • Blog

Backed By

Backed by Mango CapitalBacked by General Catalyst
Fig

Made with ❤️ in San Francisco
Copyright © 2024 Hercules Labs Inc.