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›Option

Option

Options add additional information to a Subcommand. They usually start with - or --.

Some options, called flags, are boolean. Either they are included or not. For example, git --version.

Other options take an argument. For example, -m in git commit -m <message> requires the "message" parameter.

Properties

On this page

  1. Option
    1. Properties
      1. name
      2. args
      3. isPersistent
      4. isRequired
      5. requiresEquals
      6. requiresSeparator
      7. isRepeatable
      8. exclusiveOn
      9. dependsOn
      10. displayName
      11. insertValue
      12. replaceValue
      13. description
      14. icon
      15. isDangerous
      16. priority
      17. hidden
      18. deprecated
      19. 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.