var U=Object.defineProperty,E=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var w=(i,n,t)=>n in i?U(i,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[n]=t,f=(i,n)=>{for(var t in n||(n={}))_.call(n,t)&&w(i,t,n[t]);if(O)for(var t of O(n))q.call(n,t)&&w(i,t,n[t]);return i},b=(i,n)=>E(i,A(n));var h=(i,n,t)=>new Promise((a,s)=>{var p=m=>{try{r(t.next(m))}catch(o){s(o)}},e=m=>{try{r(t.throw(m))}catch(o){s(o)}},r=m=>m.done?a(m.value):Promise.resolve(m.value).then(p,e);r((t=t.apply(i,n)).next())});var k=t=>h(void 0,[t],function*({exec:i,query:n}){let{stdout:a}=yield i({command:"fig",args:["_","request","--route","/graphql","--method","--body",JSON.stringify({query:n})]});return JSON.parse(a).data}),V={script:["fig","settings","autocomplete.disableForCommands"],postProcess:i=>{let n=i.split(`
`).filter(s=>s.length>0);return[{name:"Disable new CLI...",description:`You must pass a valid JSON array of CLI tools contained within single quotes. e.g. '["npm","cd","ls"]'`,icon:"fig://icon?type=box",insertValue:JSON.stringify(n.concat(["{cursor}"]))},{name:"Enable all commands",icon:"fig://icon?type=box",insertValue:"'[]'"}].concat(n.map(s=>({name:`Enable ${s}`,icon:"fig://icon?type=box",insertValue:JSON.stringify(n.filter(p=>p!=s))})))}},v={script:["fig","theme","--list"],postProcess:i=>{let n=[{name:"system",icon:"\u{1F4BB}",priority:51},{name:"light",icon:"fig://template?color=ffffff&badge=\u2600\uFE0F",priority:51},{name:"dark",icon:"fig://template?color=000000&badge=\u{1F319}",priority:51}];return i.split(`
`).map(t=>({name:t.replace(".json",""),icon:"\u{1F3A8}"})).concat(n)}},$={"autocomplete.disableForCommands":V,"autocomplete.theme":v},S={custom:()=>h(void 0,null,function*(){return["figterm","fig_cli","fig_desktop","daemon"].map(i=>({name:i}))})},F=(i,n)=>h(void 0,null,function*(){let{stdout:t}=yield n({command:"fig",args:["_","request","--method","GET","--route","/settings/all"]}),{settings:a,actions:s}=JSON.parse(t),p=s.map(e=>({name:e.identifier.startsWith("autocomplete.")?e.identifier.slice(13):e.identifier,description:e.description,icon:"\u26A1\uFE0F"}));return{name:"settings",subcommands:a.map(({settingName:e,description:r,type:m,options:o,default:d})=>{let u=m==="boolean"?["true","false"]:e.startsWith("autocomplete.keybindings.")?p:o==null?void 0:o.map(c=>({name:c.name||c,description:c.description||""})),l=$[e];return{name:e,description:r,icon:"fig://icon?type=commandkey",args:{name:m,default:d,suggestions:l?[]:u,generators:l}}})}}),x={script:["fig","internal","local-state","all","--format","json"],postProcess:i=>{let n=JSON.parse(i);return Object.keys(n).map(t=>({name:t,description:JSON.stringify(n[t])}))}},y=i=>({cache:{strategy:"stale-while-revalidate"},custom:(n,t)=>h(void 0,null,function*(){let a=i.installed?["plugins","list","--format","json","--installed"]:["plugins","list","--format","json"],{stdout:s}=yield t({command:"fig",args:a});return JSON.parse(s).map(e=>{var r;return{name:e.name,icon:(r=e.icon)!=null&&r.startsWith("https://")?"\u{1F4E6}":e.icon,description:e.description}})})}),R={cache:{strategy:"stale-while-revalidate"},custom:(i,n)=>h(void 0,null,function*(){let t=i.findIndex(p=>p.startsWith("--team"));if(t===-1)return[];let a;return i[t].includes("=")?a=i[t+1].split("=")[1]:a=i[t+1],JSON.parse((yield n({command:"fig",args:["user","tokens","list","--team",a,"--format","json"]})).stdout).map(p=>({name:p.name,description:`Team: ${p.namespace.username}.${p.description?" "+p.description:""}`}))})},P={cache:{strategy:"stale-while-revalidate"},script:["fig","team","--list","--format","json"],postProcess:i=>JSON.parse(i).map(n=>({name:n.name,priority:75}))},C={cache:{strategy:"stale-while-revalidate",ttl:1e3*60},custom:(i,n)=>h(void 0,null,function*(){let t=i.at(-3);return JSON.parse((yield n({command:"fig",args:["team","--format","json",t,"members"]})).stdout).map(s=>({name:s.email,description:`Role: ${s.role}`}))})},j={cache:{strategy:"stale-while-revalidate",ttl:1e3*60},custom:(i,n)=>h(void 0,null,function*(){let t=i.at(-3);return JSON.parse((yield n({command:"fig",args:["team","--format","json",t,"invitations"]})).stdout).map(s=>({name:s.email,description:`Role: ${s.role}`}))})},L=`fragment ScriptFields on Script {
  name
  fields {
    icon
    displayName
    description
    templateVersion
    tags
    parameters {
      type
      name
      displayName
      description
      text {
        placeholder
      }
      checkbox {
        trueValueSubstitution
        falseValueSubstitution
      }
      selector {
        generators {
          named {
            name
          }
          shellScript {
            script
          }
          type
        }
        placeholder
        suggestions
      }
      path {
        extensions
        fileType
      }
    }
    runtime
  }
  relevanceScore
  lastInvokedAt
  lastInvokedAtByUser
  isOwnedByCurrentUser
}`,N=i=>{var t,a,s,p;let n=[{name:["-h","--help"],description:"Show help for the script"}];for(let e of i.fields.parameters){let r={name:`--${e.name}`,description:(t=e==null?void 0:e.description)!=null?t:e==null?void 0:e.type,isRequired:!0};switch(e.type){case"Text":r.args={name:e.name};break;case"Selector":let m=[];(a=e==null?void 0:e.selector)!=null&&a.generators&&(m=(s=e==null?void 0:e.selector)==null?void 0:s.generators.filter(o=>o.type==="ShellScript").map(o=>{var d;return{script:["bash","-c",(d=o==null?void 0:o.shellScript)==null?void 0:d.script],splitOn:`
`}})),r.args={name:e.name,suggestions:(p=e==null?void 0:e.selector)==null?void 0:p.suggestions,generators:m};break;case"Path":r.args={name:e.name,template:"filepaths"};break;case"Checkbox":n.push(b(f({},r),{name:`--no-${e.name}`,exclusiveOn:[`--${e.name}`]})),r.exclusiveOn=[`--no-${e.name}`];break}n.push(r)}return n},G=(i,n)=>h(void 0,null,function*(){let t=`query Scripts {
    currentUser {
      namespace {
        username
        scripts {
          ...ScriptFields
        }
      }
      teamMemberships {
        team {
          namespace {
            username
            scripts {
              ...ScriptFields
            }
          }
        }
      }
    }
  }

  ${L}`,a=yield k({exec:n,query:t}),p=[...a.currentUser.namespace.scripts.map(e=>b(f({},e),{namespace:a.currentUser.namespace.username})),...a.currentUser.teamMemberships.flatMap(e=>e.team.namespace.scripts.map(r=>b(f({},r),{namespace:e.team.namespace.username})))].map(e=>{var d,u,l,c;let r=`${(d=e.fields.displayName)!=null?d:e.name} | @${e.namespace}`,m=[`@${e.namespace}/${e.name}`];e!=null&&e.isOwnedByCurrentUser&&m.push(e.name);let o=N(e);return{displayName:r,icon:(l=(u=e==null?void 0:e.fields)==null?void 0:u.icon)!=null?l:"\u26A1\uFE0F",name:m,insertValue:e!=null&&e.isOwnedByCurrentUser?e.name:m[0],description:(c=e==null?void 0:e.fields)==null?void 0:c.description,options:o}});return{name:"run",subcommands:p,filterStrategy:"fuzzy"}}),I=(i,n)=>h(void 0,null,function*(){let t=`query CommandLineTool {
      currentUser {
        namespace {
          username
          commandlineTools {
            ...CommandlineToolFields
          }
        }
        teamMemberships {
          team {
            namespace {
              username
              commandlineTools {
                ...CommandlineToolFields
              }
            }
          }
        }
      }
    }
    
    fragment CommandlineToolFields on CommandlineTool {
      root {
        ...CLICommandFields
      }
      flattenedCommands {
        ...CLICommandFields
      }
    }
    
    fragment CLICommandFields on ICLICommand {
      uuid
      name
      description
      ... on NestedCommand {
        subcommands {
          uuid
        }
      }
      ... on ScriptCommand {
        script {
          ...ScriptFields
        }
      }
    }
    
    ${L}`,a=yield k({exec:n,query:t}),p=[...a.currentUser.namespace.commandlineTools.map(e=>b(f({},e),{namespace:a.currentUser.namespace.username})),...a.currentUser.teamMemberships.flatMap(e=>e.team.namespace.commandlineTools.map(r=>b(f({},r),{namespace:e.team.namespace.username})))].map(e=>{let r={};for(let o of e.flattenedCommands)r[o.uuid]=o;let m=(o,d)=>{var u;if("subcommands"in o){let l=[];for(let c of o.subcommands)l.push(m(r[c.uuid],d+1));return{name:d===0?`@${e.namespace}/${o.name}`:o.name,description:o.description,subcommands:l,options:[{name:["-h","--help"],description:"Print help information"}]}}else{let l=o.script,c=N(l);return{icon:(u=l==null?void 0:l.fields)==null?void 0:u.icon,name:o.name,description:o.description,options:c}}};return m(e.root,0)});return{name:"cli",subcommands:p}}),T={script:["fig","_","request","--method","GET","--route","/access/hosts/all"],cache:{strategy:"stale-while-revalidate"},postProcess:i=>JSON.parse(i).map(n=>({insertValue:`@${n.namespace}/${n.nickName}`,displayName:`${n.nickName} (@${n.namespace})`,name:`@${n.namespace}/${n.nickName}`,description:n.description}))},D={custom:(i,n)=>h(void 0,null,function*(){let t=i.slice(2).find(s=>!s.startsWith("-"));return t===void 0?[]:JSON.parse((yield n({command:"fig",args:["ssh",t,"--get-identities"]})).stdout).map(s=>({name:s.displayName}))})},J={script:["fig","user","list-accounts"],postProcess:i=>i.startsWith("error: ")?[]:i.trim().split(`
`).map(n=>({name:n,icon:"\u{1F464}"}))};var B={name:"fig",description:"Top level cli commands",subcommands:[{name:"app",description:"Interact with the desktop app",subcommands:[{name:"install",description:"Install the Fig app",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"onboarding",description:"Run the Fig tutorial again",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"running",description:"Check if Fig is running",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"launch",description:"Launch the Fig desktop app",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"restart",description:"Restart the Fig desktop app",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"quit",description:"Quit the Fig desktop app",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"set-path",description:"Set the internal pseudo-terminal path",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"uninstall",description:"Uninstall the Fig app",options:[{name:"--app-bundle",description:"Remove executable and user data"},{name:"--input-method",description:"Remove input method"},{name:"--daemon",description:"Remove Fig daemon"},{name:"--dotfiles",description:"Remove dotfile shell integration"},{name:"--ssh",description:"Remove SSH integration"},{name:"--no-open",description:"Do not open the uninstallation page"},{name:"--only-open",description:"Only open the uninstallation page"},{name:["-h","--help"],description:"Print help information"}]},{name:"prompts",description:"Prompts shown on terminal startup",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"install",description:"Install the Fig app"},{name:"onboarding",description:"Run the Fig tutorial again"},{name:"running",description:"Check if Fig is running"},{name:"launch",description:"Launch the Fig desktop app"},{name:"restart",description:"Restart the Fig desktop app"},{name:"quit",description:"Quit the Fig desktop app"},{name:"set-path",description:"Set the internal pseudo-terminal path"},{name:"uninstall",description:"Uninstall the Fig app"},{name:"prompts",description:"Prompts shown on terminal startup"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"hook",description:"Hook commands",hidden:!0,subcommands:[{name:"editbuffer",options:[{name:["-h","--help"],description:"Print help information"}],args:[{name:"session_id"},{name:"integration"},{name:"tty"},{name:"pid"},{name:"histno"},{name:"cursor"},{name:"text"}]},{name:"hide",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"init",options:[{name:["-h","--help"],description:"Print help information"}],args:[{name:"pid"},{name:"tty"}]},{name:"integration-ready",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"integration"}},{name:"keyboard-focus-changed",options:[{name:["-h","--help"],description:"Print help information"}],args:[{name:"app_identifier"},{name:"focused_session_id"}]},{name:"pre-exec",options:[{name:["-h","--help"],description:"Print help information"}],args:[{name:"pid"},{name:"tty"}]},{name:"prompt",options:[{name:["-h","--help"],description:"Print help information"}],args:[{name:"pid"},{name:"tty"}]},{name:"ssh",options:[{name:"--prompt"},{name:["-h","--help"],description:"Print help information"}],args:[{name:"pid"},{name:"tty"},{name:"control_path"},{name:"remote_dest"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"editbuffer"},{name:"hide"},{name:"init"},{name:"integration-ready"},{name:"keyboard-focus-changed"},{name:"pre-exec"},{name:"prompt"},{name:"ssh"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"debug",description:"Debug Fig",subcommands:[{name:"app",description:"Debug fig app",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"dotfiles",description:"Debug dotfiles",options:[{name:"--disable",description:"Disable debug mode"},{name:["-h","--help"],description:"Print help information"}]},{name:"build",description:"Switch build",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"build",suggestions:["dev","prod","staging"]}},{name:"autocomplete-window",description:"Toggle/set autocomplete window debug mode",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"mode",isOptional:!0,suggestions:["on","off"]}},{name:"logs",description:"Show fig debug logs",options:[{name:"--level",isRepeatable:!0,args:{name:"level",isOptional:!0}},{name:["-h","--help"],description:"Print help information"}],args:{name:"files",isVariadic:!0,isOptional:!0,generators:S}},{name:"prompt-accessibility",description:"Prompt accessibility",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"sample",description:"Sample fig process",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"unix-socket",description:"Debug fig unix sockets",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"verify-codesign",description:"Debug fig codesign verification",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"accessibility",description:"Accessibility",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"action",isOptional:!0,suggestions:["refresh","reset","prompt","open","status"]}},{name:"key-tester",description:"Key Tester",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"diagnostics",description:"Watches diagnostics",options:[{name:"--rate",isRepeatable:!0,args:{name:"rate",isOptional:!0}},{name:"--watch"},{name:["-h","--help"],description:"Print help information"}]},{name:"query-index",description:"Queries remote repository for updates given the specified metadata",options:[{name:["-c","--channel"],isRepeatable:!0,args:{name:"channel"}},{name:["-k","--kind"],isRepeatable:!0,args:{name:"kind"}},{name:["-v","--variant"],isRepeatable:!0,args:{name:"variant"}},{name:["-e","--version"],isRepeatable:!0,args:{name:"version"}},{name:["-a","--architecture"],isRepeatable:!0,args:{name:"architecture"}},{name:["-t","--override-threshold"],isRepeatable:!0,args:{name:"override_threshold",isOptional:!0}},{name:["-r","--enable-rollout"]},{name:["-h","--help"],description:"Print help information"}]},{name:"devtools",description:"Open up the devtools of a specific webview",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"window"}},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"app",description:"Debug fig app"},{name:"dotfiles",description:"Debug dotfiles"},{name:"build",description:"Switch build"},{name:"autocomplete-window",description:"Toggle/set autocomplete window debug mode"},{name:"logs",description:"Show fig debug logs"},{name:"prompt-accessibility",description:"Prompt accessibility"},{name:"sample",description:"Sample fig process"},{name:"unix-socket",description:"Debug fig unix sockets"},{name:"verify-codesign",description:"Debug fig codesign verification"},{name:"accessibility",description:"Accessibility"},{name:"key-tester",description:"Key Tester"},{name:"diagnostics",description:"Watches diagnostics"},{name:"query-index",description:"Queries remote repository for updates given the specified metadata"},{name:"devtools",description:"Open up the devtools of a specific webview"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"settings",description:"Customize appearance & behavior",subcommands:[{name:"init",description:"Reload the settings listener",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"docs",description:"Get the settings documentation",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"open",description:"Open the settings file",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"sync",description:"Sync the current settings",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"all",description:"List all the settings",options:[{name:["-f","--format"],description:"Format of the output",isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-r","--remote"],description:"List the remote settings"},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"init",description:"Reload the settings listener"},{name:"docs",description:"Get the settings documentation"},{name:"open",description:"Open the settings file"},{name:"sync",description:"Sync the current settings"},{name:"all",description:"List all the settings"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-f","--format"],description:"Format of the output",isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-d","--delete"],description:"Delete a value"},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:[{name:"key",isOptional:!0},{name:"value",isOptional:!0}],generateSpec:F},{name:"tips",description:"Enable/disable fig tips",subcommands:[{name:"enable",description:"Enable fig tips",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"disable",description:"Disable fig tips",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"reset",description:"Reset the tips to the default",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}]},{name:"prompt",description:"Show the tips",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"enable",description:"Enable fig tips"},{name:"disable",description:"Disable fig tips"},{name:"reset",description:"Reset the tips to the default",hidden:!0},{name:"prompt",description:"Show the tips",hidden:!0},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"install",description:"Install fig cli components",options:[{name:"--daemon",description:"Install only the daemon"},{name:"--dotfiles",description:"Install only the shell integrations"},{name:"--input-method",description:"Prompt input method installation"},{name:"--no-confirm",description:"Don't confirm automatic installation"},{name:"--force",description:"Force installation of fig"},{name:"--ssh",description:"Install only the ssh integration"},{name:["-h","--help"],description:"Print help information"}]},{name:"ssh",description:"Enable/disable fig SSH integration",options:[{name:["-a","--auth"],description:"Identity to connect with",isRepeatable:!0,args:{name:"auth",isOptional:!0,generators:D}},{name:"--get-identities"},{name:"--ignore-saved",description:"Ignore saved identities"},{name:["-h","--help"],description:"Print help information"}],args:{name:"host",isOptional:!0,generators:T}},{name:"uninstall",description:"Uninstall fig",hidden:!0,options:[{name:["-y","--no-confirm"],description:"Force uninstall"},{name:["-h","--help"],description:"Print help information"}]},{name:"update",description:"Update dotfiles",options:[{name:"--no-confirm",description:"(deprecated) Use --non-interactive instead"},{name:["-y","--non-interactive"],description:"Don't prompt for confirmation"},{name:"--relaunch-dashboard",description:"Relaunch into dashboard after update (false will launch in background)"},{name:"--rollout",description:"Uses rollout"},{name:["-h","--help"],description:"Print help information"}]},{name:"daemon",description:"Run the daemon",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}]},{name:["diagnostic","diagnostics"],description:"Run diagnostic tests",options:[{name:["-f","--format"],description:"The format of the output",isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:"--force",description:"Force limited diagnostic output"},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"init",description:"Generate the dotfiles for the given shell",options:[{name:"--rcfile",isRepeatable:!0,args:{name:"rcfile",isOptional:!0}},{name:"--skip-dotfiles",description:"Whether to skip loading dotfiles"},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:[{name:"shell",suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"}]},{name:"when",suggestions:["pre","post"]}]},{name:"source",description:"Sync your latest dotfiles",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"theme",description:"Get or set theme",options:[{name:"--list",exclusiveOn:["--folder"]},{name:"--folder",exclusiveOn:["--list"]},{name:["-h","--help"],description:"Print help information"}],args:{name:"theme",isOptional:!0,generators:v}},{name:"invite",description:"Invite friends to Fig",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"tweet",description:"Tweet about Fig",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"issue",description:"Create a new Github issue",options:[{name:["-f","--force"],description:"Force issue creation"},{name:["-h","--help"],description:"Print help information"}],args:{name:"description",isVariadic:!0,isOptional:!0}},{name:"login",description:"Login to Fig",options:[{name:["-r","--refresh"],description:"Refresh the auth token if expired"},{name:"--hard-refresh",description:"Force a refresh of the auth token"},{name:"--switchable"},{name:"--not-now",description:'Add a "not now" option to the choicer'},{name:["-h","--help"],description:"Print help information"}],args:{name:"email",isOptional:!0}},{name:"logout",description:"Logout of Fig",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"user",description:"Manage your fig user",subcommands:[{name:"login",description:"Login to Fig",options:[{name:["-r","--refresh"],description:"Refresh the auth token if expired"},{name:"--hard-refresh",description:"Force a refresh of the auth token"},{name:"--switchable"},{name:"--not-now",description:'Add a "not now" option to the choicer'},{name:["-h","--help"],description:"Print help information"}],args:{name:"email",isOptional:!0}},{name:"logout",description:"Logout of Fig",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"tokens",description:"Subcommand for dealing with tokens",subcommands:[{name:"new",options:[{name:"--expires-date",description:"The expiration date of the token in RFC3339 format",exclusiveOn:["--expires-in"],isRepeatable:!0,args:{name:"expires_date",isOptional:!0}},{name:"--expires-in",description:'The time till the token expires (e.g. "90d")',exclusiveOn:["--expires-date"],isRepeatable:!0,args:{name:"expires_in",isOptional:!0}},{name:["-t","--team"],description:"The team namespace to create the token for",isRepeatable:!0,args:{name:"team",generators:P}},{name:["-h","--help"],description:"Print help information"}],args:{name:"name"}},{name:"list",options:[{name:["-t","--team"],description:"The team namespace to list the tokens for",isRepeatable:!0,args:{name:"team",generators:P}},{name:["-f","--format"],isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"revoke",options:[{name:["-t","--team"],description:"The team namespace to revoke the token for",isRepeatable:!0,args:{name:"team",generators:P}},{name:["-h","--help"],description:"Print help information"}],args:{name:"name",generators:R}},{name:"validate",description:"Validate a token is valid",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"token"}},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"new"},{name:"list"},{name:"revoke"},{name:"validate",description:"Validate a token is valid"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"whoami",description:"Prints details about the current user",options:[{name:["-f","--format"],description:"Output format to use",isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-e","--only-email"],description:"Only print the user's email address, this is quicker since it doesn't require a network request"},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"plan",description:"Prints details about the user's plan",hidden:!0,options:[{name:["-f","--format"],description:"Output format to use",isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"list-accounts",description:"List all accounts that can be switch to",hidden:!0,options:[{name:["-f","--format"],description:"Output format to use",isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"switch",description:"Switch to a switchable account",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"email",generators:J}},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"login",description:"Login to Fig"},{name:"logout",description:"Logout of Fig"},{name:"tokens",description:"Subcommand for dealing with tokens",subcommands:[{name:"new"},{name:"list"},{name:"revoke"},{name:"validate",description:"Validate a token is valid"}]},{name:"whoami",description:"Prints details about the current user"},{name:"plan",description:"Prints details about the user's plan",hidden:!0},{name:"list-accounts",description:"List all accounts that can be switch to",hidden:!0},{name:"switch",description:"Switch to a switchable account",hidden:!0},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"team",description:"Manage your fig team",args:{name:"team",generators:P,isOptional:!0,loadSpec:{name:"team",subcommands:[{name:"members",description:"List all members on a team",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"remove",description:"Remove a member from a team",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"email",generators:C}},{name:"add",description:"Invite a member to a team",options:[{name:"--role",isRepeatable:!0,args:{name:"role",isOptional:!0,suggestions:["owner","admin","member"]}},{name:["-h","--help"],description:"Print help information"}],args:{name:"email"}},{name:"invitations",description:"List pending invitations to a team",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"revoke",description:"Revoke an invitation to a team",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"email",generators:j}},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"members",description:"List all members on a team"},{name:"remove",description:"Remove a member from a team"},{name:"add",description:"Invite a member to a team"},{name:"invitations",description:"List pending invitations to a team"},{name:"revoke",description:"Revoke an invitation to a team"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}]}},options:[{name:["-f","--format"],isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:"--list",exclusiveOn:["--new","--delete"]},{name:"--new",exclusiveOn:["--list","--delete"]},{name:"--delete",exclusiveOn:["--list","--new"]},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"doctor",description:"Check Fig is properly configured",options:[{name:"--verbose",description:"Run all doctor tests, with no fixes"},{name:"--strict",description:"Error on warnings"},{name:["-h","--help"],description:"Print help information"}]},{name:"completion",description:"Generate the completion spec for Fig",hidden:!0,options:[{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:{name:"shell",isOptional:!0,suggestions:[{name:"bash",description:"Bash shell completions"},{name:"fish",description:"Fish shell completions"},{name:"zsh",description:"Zsh shell completions"},{name:"fig",description:"Fig completion spec"}]}},{name:["internal","_"],description:"Internal subcommands used for Fig",hidden:!0,subcommands:[{name:"prompt-dotfiles-changed",description:"Prompt the user that the dotfiles have changes Also use for `fig source` internals",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"pre-cmd",description:"Command that is run during the PreCmd section of the fig integrations",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"local-state",description:"Change the local-state file",subcommands:[{name:"init",description:"Reload the state listener",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"open",description:"Open the state file",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"all",description:"List all the settings",options:[{name:["-f","--format"],isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"init",description:"Reload the state listener"},{name:"open",description:"Open the state file"},{name:"all",description:"List all the settings"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-f","--format"],description:"Format of the output",isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-d","--delete"],description:"Delete the state"},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:[{name:"key",isOptional:!0,generators:x},{name:"value",isOptional:!0}]},{name:"callback",description:"Callback used for the internal pseudoterminal",options:[{name:["-h","--help"],description:"Print help information"}],args:[{name:"handler_id"},{name:"filename",isOptional:!0},{name:"exit_code",isOptional:!0}]},{name:"install",description:"Install fig cli",options:[{name:"--daemon",description:"Install only the daemon"},{name:"--dotfiles",description:"Install only the shell integrations"},{name:"--input-method",description:"Prompt input method installation"},{name:"--no-confirm",description:"Don't confirm automatic installation"},{name:"--force",description:"Force installation of fig"},{name:"--ssh",description:"Install only the ssh integration"},{name:["-h","--help"],description:"Print help information"}]},{name:"uninstall",description:"Uninstall fig cli",options:[{name:"--daemon",description:"Uninstall only the daemon"},{name:"--dotfiles",description:"Uninstall only the shell integrations"},{name:"--input-method",description:"Uninstall only the input method"},{name:"--binary",description:"Uninstall only the binary"},{name:"--ssh",description:"Uninstall only the ssh integration"},{name:["-h","--help"],description:"Print help information"}]},{name:"get-shell",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"hostname",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"should-figterm-launch",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"event",options:[{name:"--name",description:"Name of the event",isRepeatable:!0,args:{name:"name"}},{name:"--payload",description:"Payload of the event as a JSON string",isRepeatable:!0,args:{name:"payload",isOptional:!0}},{name:"--apps",description:"Apps to send the event to",isRepeatable:!0,args:{name:"apps",isOptional:!0}},{name:["-h","--help"],description:"Print help information"}]},{name:"auth-token",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"request",options:[{name:"--route",isRepeatable:!0,args:{name:"route"}},{name:"--method",isRepeatable:!0,args:{name:"method",isOptional:!0,suggestions:["GET","POST","PUT","DELETE","HEAD","OPTIONS","CONNECT","PATCH","TRACE"]}},{name:"--body",isRepeatable:!0,args:{name:"body",isOptional:!0}},{name:"--namespace",isRepeatable:!0,args:{name:"namespace",isOptional:!0}},{name:"--release"},{name:["-h","--help"],description:"Print help information"}]},{name:"sockets-dir",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"stream-from-socket",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"figterm-socket-path",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"session_id"}},{name:"ipc",options:[{name:"--figterm",isRepeatable:!0,args:{name:"figterm",isOptional:!0}},{name:"--json",isRepeatable:!0,args:{name:"json"}},{name:"--app"},{name:"--daemon"},{name:"--recv"},{name:["-h","--help"],description:"Print help information"}]},{name:"uninstall-for-all-users",description:"Linux only",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"uuidgen",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"ibus-bootstrap",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"detect-sandbox",description:"Checks for sandboxing",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"open-uninstall-page",options:[{name:"--verbose"},{name:["-h","--help"],description:"Print help information"}]},{name:"prompt-ssh",description:"Displays prompt to install remote shell integrations",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"remote_dest"}},{name:"dump-state",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"component",suggestions:["figterm"]}},{name:"finish-update",options:[{name:"--relaunch-dashboard"},{name:["-h","--help"],description:"Print help information"}]},{name:"check-ssh",description:"Checks to see if we should try to forward on this SSH connection",options:[{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:{name:"remote_username"}},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"prompt-dotfiles-changed",description:"Prompt the user that the dotfiles have changes Also use for `fig source` internals"},{name:"pre-cmd",description:"Command that is run during the PreCmd section of the fig integrations"},{name:"local-state",description:"Change the local-state file",subcommands:[{name:"init",description:"Reload the state listener"},{name:"open",description:"Open the state file"},{name:"all",description:"List all the settings"}]},{name:"callback",description:"Callback used for the internal pseudoterminal"},{name:"install",description:"Install fig cli"},{name:"uninstall",description:"Uninstall fig cli"},{name:"get-shell"},{name:"hostname"},{name:"should-figterm-launch"},{name:"event"},{name:"auth-token"},{name:"request"},{name:"sockets-dir"},{name:"stream-from-socket"},{name:"figterm-socket-path"},{name:"ipc"},{name:"uninstall-for-all-users",description:"Linux only"},{name:"uuidgen"},{name:"ibus-bootstrap"},{name:"detect-sandbox",description:"Checks for sandboxing"},{name:"open-uninstall-page"},{name:"prompt-ssh",description:"Displays prompt to install remote shell integrations"},{name:"dump-state"},{name:"finish-update"},{name:"check-ssh",description:"Checks to see if we should try to forward on this SSH connection"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"launch",description:"Launch the Fig desktop app",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"quit",description:"Quit the Fig desktop app",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"restart",description:"Restart the Fig desktop app",options:[{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:{name:"process",isOptional:!0,suggestions:[{name:"daemon",description:"Daemon process"},{name:"app",description:"Fig process"}]}},{name:"onboarding",description:"Run the Fig tutorial",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}]},{name:"plugins",description:"Manage your shell plugins with Fig",subcommands:[{name:"sync",description:"Sync the current plugins (this will not update plugins that are already installed)",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"update",description:"Update the installed plugins",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"add",description:"Install a specific plugin from the plugin store",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"plugin",generators:y({installed:!1})}},{name:"remove",description:"Uninstall a specific plugin",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"plugin",generators:y({installed:!0})}},{name:"list",description:"List all plugins available in the plugin store",options:[{name:"--fields",description:"Fields to include in the output",isRepeatable:!0,args:{name:"fields",isOptional:!0}},{name:["-f","--format"],description:"The output format",isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-i","--installed"],description:"Only list plugins that are installed"},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"info",description:"Info about a specific plugin",options:[{name:"--fields",description:"Fields to include in the output",isRepeatable:!0,args:{name:"fields",isOptional:!0}},{name:["-f","--format"],description:"The output format",isRepeatable:!0,args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"},{name:"json-pretty",description:"Outputs the results as pretty print JSON"}]}},{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:{name:"plugin"}},{name:"configure",description:"Configure a specific plugin",options:[{name:["-h","--help"],description:"Print help information"}],args:[{name:"plugin",isOptional:!0},{name:"config",isOptional:!0}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"sync",description:"Sync the current plugins (this will not update plugins that are already installed)"},{name:"update",description:"Update the installed plugins"},{name:"add",description:"Install a specific plugin from the plugin store"},{name:"remove",description:"Uninstall a specific plugin"},{name:"list",description:"List all plugins available in the plugin store"},{name:"info",description:"Info about a specific plugin"},{name:"configure",description:"Configure a specific plugin"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"man",description:"Open manual page",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"command",isVariadic:!0,isOptional:!0}},{name:["run","r"],description:"Fig Workflows",args:{name:"args",isVariadic:!0,isOptional:!0},generateSpec:G,filterStrategy:"fuzzy"},{name:["integrations","integration"],description:"Manage system integrations",subcommands:[{name:"install",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:{name:"shell",isOptional:!0,suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"}]}},{name:"daemon",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"input-method",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"vscode",options:[{name:["-h","--help"],description:"Print help information"}]},{name:["intellij","jetbrains"],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-s","--silent"],description:"Suppress status messages"},{name:["-h","--help"],description:"Print help information"}]},{name:"uninstall",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:{name:"shell",isOptional:!0,suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"}]}},{name:"daemon",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"input-method",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"vscode",options:[{name:["-h","--help"],description:"Print help information"}]},{name:["intellij","jetbrains"],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-s","--silent"],description:"Suppress status messages"},{name:["-h","--help"],description:"Print help information"}]},{name:"status",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:{name:"shell",isOptional:!0,suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"}]}},{name:"daemon",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"input-method",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"vscode",options:[{name:["-h","--help"],description:"Print help information"}]},{name:["intellij","jetbrains"],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"install",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"}]},{name:"uninstall",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"}]},{name:"status",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"ai",description:"English -> Bash translation",options:[{name:["-n","--n"],description:"Number of completions to generate (must be <=5)",hidden:!0,isRepeatable:!0,args:{name:"n",isOptional:!0}},{name:["-h","--help"],description:"Print help information"}],args:{name:"input",isVariadic:!0,isOptional:!0}},{name:"telemetry",description:"Enable/disable telemetry",hidden:!0,subcommands:[{name:"enable",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"disable",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"status",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"enable"},{name:"disable"},{name:"status"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"pro",description:"Fig Pro",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"version",description:"Version",options:[{name:["-h","--help"],description:"Print help information"}]},{name:["help-all","--help-all"],insertValue:"help-all",description:"Print help for all subcommands",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"dashboard",description:"Open the fig dashboard",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"app:running",description:"(LEGACY) Old hook that was being used somewhere",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}]},{name:"bg:ssh",description:"(LEGACY) Old ssh hook that might be in ~/.ssh/config",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}]},{name:"bg:tmux",description:"(LEGACY) Old tmux hook that might be in ~/.tmux.conf",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"args",isVariadic:!0,isOptional:!0}},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"app",description:"Interact with the desktop app",subcommands:[{name:"install",description:"Install the Fig app"},{name:"onboarding",description:"Run the Fig tutorial again"},{name:"running",description:"Check if Fig is running"},{name:"launch",description:"Launch the Fig desktop app"},{name:"restart",description:"Restart the Fig desktop app"},{name:"quit",description:"Quit the Fig desktop app"},{name:"set-path",description:"Set the internal pseudo-terminal path"},{name:"uninstall",description:"Uninstall the Fig app"},{name:"prompts",description:"Prompts shown on terminal startup"}]},{name:"hook",description:"Hook commands",hidden:!0,subcommands:[{name:"editbuffer"},{name:"hide"},{name:"init"},{name:"integration-ready"},{name:"keyboard-focus-changed"},{name:"pre-exec"},{name:"prompt"},{name:"ssh"}]},{name:"debug",description:"Debug Fig",subcommands:[{name:"app",description:"Debug fig app"},{name:"dotfiles",description:"Debug dotfiles"},{name:"build",description:"Switch build"},{name:"autocomplete-window",description:"Toggle/set autocomplete window debug mode"},{name:"logs",description:"Show fig debug logs"},{name:"prompt-accessibility",description:"Prompt accessibility"},{name:"sample",description:"Sample fig process"},{name:"unix-socket",description:"Debug fig unix sockets"},{name:"verify-codesign",description:"Debug fig codesign verification"},{name:"accessibility",description:"Accessibility"},{name:"key-tester",description:"Key Tester"},{name:"diagnostics",description:"Watches diagnostics"},{name:"query-index",description:"Queries remote repository for updates given the specified metadata"},{name:"devtools",description:"Open up the devtools of a specific webview"}]},{name:"settings",description:"Customize appearance & behavior",subcommands:[{name:"init",description:"Reload the settings listener"},{name:"docs",description:"Get the settings documentation"},{name:"open",description:"Open the settings file"},{name:"sync",description:"Sync the current settings"},{name:"all",description:"List all the settings"}]},{name:"tips",description:"Enable/disable fig tips",subcommands:[{name:"enable",description:"Enable fig tips"},{name:"disable",description:"Disable fig tips"},{name:"reset",description:"Reset the tips to the default",hidden:!0},{name:"prompt",description:"Show the tips",hidden:!0}]},{name:"install",description:"Install fig cli components"},{name:"ssh",description:"Enable/disable fig SSH integration"},{name:"uninstall",description:"Uninstall fig",hidden:!0},{name:"update",description:"Update dotfiles"},{name:"daemon",description:"Run the daemon",hidden:!0},{name:"diagnostic",description:"Run diagnostic tests"},{name:"init",description:"Generate the dotfiles for the given shell"},{name:"source",description:"Sync your latest dotfiles"},{name:"theme",description:"Get or set theme"},{name:"invite",description:"Invite friends to Fig"},{name:"tweet",description:"Tweet about Fig"},{name:"issue",description:"Create a new Github issue"},{name:"login",description:"Login to Fig"},{name:"logout",description:"Logout of Fig"},{name:"user",description:"Manage your fig user",subcommands:[{name:"login",description:"Login to Fig"},{name:"logout",description:"Logout of Fig"},{name:"tokens",description:"Subcommand for dealing with tokens",subcommands:[{name:"new"},{name:"list"},{name:"revoke"},{name:"validate",description:"Validate a token is valid"}]},{name:"whoami",description:"Prints details about the current user"},{name:"plan",description:"Prints details about the user's plan",hidden:!0},{name:"list-accounts",description:"List all accounts that can be switch to",hidden:!0},{name:"switch",description:"Switch to a switchable account",hidden:!0}]},{name:"team",description:"Manage your fig team",subcommands:[{name:"members",description:"List all members on a team"},{name:"remove",description:"Remove a member from a team"},{name:"add",description:"Invite a member to a team"},{name:"invitations",description:"List pending invitations to a team"},{name:"revoke",description:"Revoke an invitation to a team"}]},{name:"doctor",description:"Check Fig is properly configured"},{name:"completion",description:"Generate the completion spec for Fig",hidden:!0},{name:"internal",description:"Internal subcommands used for Fig",hidden:!0,subcommands:[{name:"prompt-dotfiles-changed",description:"Prompt the user that the dotfiles have changes Also use for `fig source` internals"},{name:"pre-cmd",description:"Command that is run during the PreCmd section of the fig integrations"},{name:"local-state",description:"Change the local-state file",subcommands:[{name:"init",description:"Reload the state listener"},{name:"open",description:"Open the state file"},{name:"all",description:"List all the settings"}]},{name:"callback",description:"Callback used for the internal pseudoterminal"},{name:"install",description:"Install fig cli"},{name:"uninstall",description:"Uninstall fig cli"},{name:"get-shell"},{name:"hostname"},{name:"should-figterm-launch"},{name:"event"},{name:"auth-token"},{name:"request"},{name:"sockets-dir"},{name:"stream-from-socket"},{name:"figterm-socket-path"},{name:"ipc"},{name:"uninstall-for-all-users",description:"Linux only"},{name:"uuidgen"},{name:"ibus-bootstrap"},{name:"detect-sandbox",description:"Checks for sandboxing"},{name:"open-uninstall-page"},{name:"prompt-ssh",description:"Displays prompt to install remote shell integrations"},{name:"dump-state"},{name:"finish-update"},{name:"check-ssh",description:"Checks to see if we should try to forward on this SSH connection"}]},{name:"launch",description:"Launch the Fig desktop app"},{name:"quit",description:"Quit the Fig desktop app"},{name:"restart",description:"Restart the Fig desktop app"},{name:"onboarding",description:"Run the Fig tutorial",hidden:!0},{name:"plugins",description:"Manage your shell plugins with Fig",subcommands:[{name:"sync",description:"Sync the current plugins (this will not update plugins that are already installed)"},{name:"update",description:"Update the installed plugins"},{name:"add",description:"Install a specific plugin from the plugin store"},{name:"remove",description:"Uninstall a specific plugin"},{name:"list",description:"List all plugins available in the plugin store"},{name:"info",description:"Info about a specific plugin"},{name:"configure",description:"Configure a specific plugin"}]},{name:"man",description:"Open manual page"},{name:"workflow",description:"Fig Workflows"},{name:"integrations",description:"Manage system integrations",subcommands:[{name:"install",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"}]},{name:"uninstall",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"}]},{name:"status",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"}]}]},{name:"ai",description:"English -> Bash translation"},{name:"telemetry",description:"Enable/disable telemetry",hidden:!0,subcommands:[{name:"enable"},{name:"disable"},{name:"status"}]},{name:"pro",description:"Fig Pro"},{name:"version",description:"Version"},{name:"help-all",description:"Print help for all subcommands"},{name:"dashboard",description:"Open the fig dashboard"},{name:"app:running",description:"(LEGACY) Old hook that was being used somewhere",hidden:!0},{name:"bg:ssh",description:"(LEGACY) Old ssh hook that might be in ~/.ssh/config",hidden:!0},{name:"bg:tmux",description:"(LEGACY) Old tmux hook that might be in ~/.tmux.conf",hidden:!0},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"},{name:["-V","--version"],description:"Print version information"}]},g={};g["2.9.0"]={subcommands:[{name:"debug",subcommands:[{name:"build",description:"Switch to another branch of a Fig.js app",args:[{name:"app",suggestions:["dashboard","autocomplete"]},{name:"build",isOptional:!0,suggestions:["production","staging","develop"]}]},{name:"devtools",args:{name:"app",suggestions:["dashboard","autocomplete"]}},{name:"get-index",description:"Displays remote index",options:[{name:["-d","--debug"],description:"Display using debug formatting"},{name:["-h","--help"],description:"Print help information"}],args:{name:"channel"}},{name:"list-intelli-j-variants",description:"Lists installed IntelliJ variants",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",subcommands:[{name:"build",description:"Switch to another branch of a Fig.js app"},{name:"get-index",description:"Displays remote index"},{name:"list-intelli-j-variants",description:"Lists installed IntelliJ variants"},{name:"unix-socket",remove:!0}]},{name:"unix-socket",remove:!0}]},{name:"ssh",options:[{name:"--ignore-default-identity",description:"Ignore saved identities"},{name:"--remove-default-identity"},{name:"--ignore-saved",remove:!0}]},{name:"team",subcommands:[{name:"members",description:"List all members on a team",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"remove",description:"Remove a member from a team",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"email"}},{name:"add",description:"Invite a member to a team",options:[{name:"--role",isRepeatable:!0,args:{name:"role",isOptional:!0,suggestions:["owner","admin","member"]}},{name:["-h","--help"],description:"Print help information"}],args:{name:"email"}},{name:"invitations",description:"List pending invitations to a team",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"revoke",description:"Revoke an invitation to a team",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"email"}},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"members",description:"List all members on a team"},{name:"remove",description:"Remove a member from a team"},{name:"add",description:"Invite a member to a team"},{name:"invitations",description:"List pending invitations to a team"},{name:"revoke",description:"Revoke an invitation to a team"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}]},{name:["internal","_"],subcommands:[{name:"check-ssh",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}]},{name:"generate-ssh",description:"Generates an SSH configuration file",options:[{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:{name:"remote_username"}},{name:"help",subcommands:[{name:"check-ssh",hidden:!0},{name:"generate-ssh",description:"Generates an SSH configuration file"}]}]},{name:["run","r"],description:"Execute a Fig Script"},{name:["scripts","script"],description:"Manage your Fig Scripts",subcommands:[{name:"refresh",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"refresh"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:["integrations","integration"],subcommands:[{name:"reinstall",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}],args:{name:"shell",isOptional:!0,suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"}]}},{name:"daemon",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"input-method",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"vscode",options:[{name:["-h","--help"],description:"Print help information"}]},{name:["intellij","jetbrains"],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:["-s","--silent"],description:"Suppress status messages"},{name:["-h","--help"],description:"Print help information"}]},{name:"help",subcommands:[{name:"reinstall",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"}]}]}]},{name:"help",subcommands:[{name:"debug",subcommands:[{name:"build",description:"Switch to another branch of a Fig.js app"},{name:"get-index",description:"Displays remote index"},{name:"list-intelli-j-variants",description:"Lists installed IntelliJ variants"},{name:"unix-socket",remove:!0}]},{name:"internal",subcommands:[{name:"check-ssh",hidden:!0},{name:"generate-ssh",description:"Generates an SSH configuration file"}]},{name:"run",description:"Execute a Fig Script"},{name:"scripts",description:"Manage your Fig Scripts",subcommands:[{name:"refresh"}]},{name:"integrations",subcommands:[{name:"reinstall",subcommands:[{name:"dotfiles"},{name:"daemon"},{name:"ssh"},{name:"input-method"},{name:"vscode"},{name:"intellij"},{name:"all"}]}]},{name:"workflow",remove:!0}]}]};g["2.10.0"]={subcommands:[{name:["internal","_"],subcommands:[{name:"ssh-local-command",description:"Displays prompt to install remote shell integrations",options:[{name:["-h","--help"],description:"Print help information"}],args:[{name:"remote_dest"},{name:"uuid"}]},{name:"prompt-ssh",description:"[Deprecated] Displays prompt to install remote shell integrations"},{name:"codex",options:[{name:"--buffer",isRepeatable:!0,args:{name:"buffer"}},{name:["-h","--help"],description:"Print help information"}]},{name:"codex-accept",options:[{name:"--buffer",isRepeatable:!0,args:{name:"buffer"}},{name:"--suggestion",isRepeatable:!0,args:{name:"suggestion"}},{name:["-h","--help"],description:"Print help information"}]},{name:"help",subcommands:[{name:"ssh-local-command",description:"Displays prompt to install remote shell integrations"},{name:"prompt-ssh",description:"[Deprecated] Displays prompt to install remote shell integrations"},{name:"codex"},{name:"codex-accept"}]}]},{name:"wrapped",description:"Show fig wrapped",icon:"\u{1F381}",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"cli",description:"Run a Fig CLI",args:{name:"args",isVariadic:!0,isOptional:!0},generateSpec:I},{name:"help",subcommands:[{name:"internal",subcommands:[{name:"ssh-local-command",description:"Displays prompt to install remote shell integrations"},{name:"prompt-ssh",description:"[Deprecated] Displays prompt to install remote shell integrations"},{name:"codex"},{name:"codex-accept"}]},{name:"wrapped",description:"Show fig wrapped"},{name:"cli",description:"Run a Fig CLI"}]}]};g["2.11.0"]={subcommands:[{name:"debug",subcommands:[{name:"build",args:[{},{suggestions:["production","beta","develop"]}]}]},{name:"init",args:[{suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"},{name:"nu",description:"Nu shell"}]},{}]},{name:["internal","_"],subcommands:[{name:"should-figterm-launch",description:"Detects if Figterm should be launched",options:[{name:["-h","--help"],description:"Print help information (use `--help` for more detail)"}]},{name:"dump-state",args:{suggestions:["figterm","web-notifications"]}},{name:"help",subcommands:[{name:"should-figterm-launch",description:"Detects if Figterm should be launched"}]}]},{name:["integrations","integration"],subcommands:[{name:"install",subcommands:[{name:"dotfiles",args:{suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"},{name:"nu",description:"Nu shell"}]}}]},{name:"uninstall",subcommands:[{name:"dotfiles",args:{suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"},{name:"nu",description:"Nu shell"}]}}]},{name:"reinstall",subcommands:[{name:"dotfiles",args:{suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"},{name:"nu",description:"Nu shell"}]}}]},{name:"status",subcommands:[{name:"dotfiles",args:{suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"},{name:"nu",description:"Nu shell"}]}}]}]},{name:"help",subcommands:[{name:"internal",subcommands:[{name:"should-figterm-launch",description:"Detects if Figterm should be launched"}]}]}]};g["2.13.0"]={subcommands:[{name:"app",subcommands:[{name:"install",options:[{name:["-h","--help"],description:"Print help"}]},{name:"onboarding",options:[{name:["-h","--help"],description:"Print help"}]},{name:"running",options:[{name:["-h","--help"],description:"Print help"}]},{name:"launch",options:[{name:["-h","--help"],description:"Print help"}]},{name:"restart",options:[{name:["-h","--help"],description:"Print help"}]},{name:"quit",options:[{name:["-h","--help"],description:"Print help"}]},{name:"set-path",options:[{name:["-h","--help"],description:"Print help"}]},{name:"uninstall",options:[{name:["-h","--help"],description:"Print help"}]},{name:"prompts",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"hook",subcommands:[{name:"editbuffer",options:[{name:["-h","--help"],description:"Print help"}]},{name:"hide",options:[{name:["-h","--help"],description:"Print help"}]},{name:"init",options:[{name:["-h","--help"],description:"Print help"}]},{name:"integration-ready",options:[{name:["-h","--help"],description:"Print help"}]},{name:"keyboard-focus-changed",options:[{name:["-h","--help"],description:"Print help"}]},{name:"pre-exec",options:[{name:["-h","--help"],description:"Print help"}]},{name:"prompt",options:[{name:["-h","--help"],description:"Print help"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"debug",subcommands:[{name:"app",options:[{name:["-h","--help"],description:"Print help"}]},{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help"}]},{name:"build",options:[{name:["-h","--help"],description:"Print help"}]},{name:"autocomplete-window",options:[{name:["-h","--help"],description:"Print help"}]},{name:"logs",options:[{name:["-h","--help"],description:"Print help"}]},{name:"prompt-accessibility",options:[{name:["-h","--help"],description:"Print help"}]},{name:"sample",options:[{name:["-h","--help"],description:"Print help"}]},{name:"verify-codesign",options:[{name:["-h","--help"],description:"Print help"}]},{name:"accessibility",options:[{name:["-h","--help"],description:"Print help"}]},{name:"key-tester",options:[{name:["-h","--help"],description:"Print help"}]},{name:"diagnostics",options:[{name:["-h","--help"],description:"Print help"}]},{name:"query-index",options:[{name:["-h","--help"],description:"Print help"}]},{name:"devtools",options:[{name:["-h","--help"],description:"Print help"}]},{name:"get-index",options:[{name:["-h","--help"],description:"Print help"}]},{name:"list-intelli-j-variants",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"settings",subcommands:[{name:"init",options:[{name:["-h","--help"],description:"Print help"}]},{name:"docs",options:[{name:["-h","--help"],description:"Print help"}]},{name:"open",options:[{name:["-h","--help"],description:"Print help"}]},{name:"sync",options:[{name:["-h","--help"],description:"Print help"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]}],options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"tips",subcommands:[{name:"enable",options:[{name:["-h","--help"],description:"Print help"}]},{name:"disable",options:[{name:["-h","--help"],description:"Print help"}]},{name:"reset",options:[{name:["-h","--help"],description:"Print help"}]},{name:"prompt",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"install",options:[{name:["-h","--help"],description:"Print help"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help"}]},{name:"uninstall",options:[{name:["-h","--help"],description:"Print help"}]},{name:"update",options:[{name:["-h","--help"],description:"Print help"}]},{name:"daemon",options:[{name:["-h","--help"],description:"Print help"}]},{name:["diagnostic","diagnostics"],options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"init",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"source",options:[{name:["-h","--help"],description:"Print help"}]},{name:"theme",options:[{name:["-h","--help"],description:"Print help"}]},{name:"invite",options:[{name:["-h","--help"],description:"Print help"}]},{name:"tweet",options:[{name:["-h","--help"],description:"Print help"}]},{name:"issue",options:[{name:["-h","--help"],description:"Print help"}]},{name:"login",options:[{name:["-h","--help"],description:"Print help"}]},{name:"logout",options:[{name:["-h","--help"],description:"Print help"}]},{name:"user",subcommands:[{name:"login",options:[{name:["-h","--help"],description:"Print help"}]},{name:"logout",options:[{name:["-h","--help"],description:"Print help"}]},{name:"tokens",subcommands:[{name:"new",options:[{name:["-h","--help"],description:"Print help"}]},{name:"list",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"revoke",options:[{name:["-h","--help"],description:"Print help"}]},{name:"validate",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"whoami",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"plan",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"list-accounts",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"switch",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"team",subcommands:[{name:"members",options:[{name:["-h","--help"],description:"Print help"}]},{name:"remove",options:[{name:["-h","--help"],description:"Print help"}]},{name:"add",options:[{name:["-h","--help"],description:"Print help"}]},{name:"invitations",options:[{name:["-h","--help"],description:"Print help"}]},{name:"revoke",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"doctor",options:[{name:["-h","--help"],description:"Print help"}]},{name:"completion",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:["internal","_"],subcommands:[{name:"prompt-dotfiles-changed",options:[{name:["-h","--help"],description:"Print help"}]},{name:"pre-cmd",options:[{name:["-h","--help"],description:"Print help"}]},{name:"local-state",subcommands:[{name:"init",options:[{name:["-h","--help"],description:"Print help"}]},{name:"open",options:[{name:["-h","--help"],description:"Print help"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]}],options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"callback",options:[{name:["-h","--help"],description:"Print help"}]},{name:"install",options:[{name:["-h","--help"],description:"Print help"}]},{name:"uninstall",options:[{name:["-h","--help"],description:"Print help"}]},{name:"get-shell",options:[{name:["-h","--help"],description:"Print help"}]},{name:"hostname",options:[{name:["-h","--help"],description:"Print help"}]},{name:"should-figterm-launch",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"event",options:[{name:["-h","--help"],description:"Print help"}]},{name:"auth-token",options:[{name:["-h","--help"],description:"Print help"}]},{name:"request",options:[{name:["-h","--help"],description:"Print help"}]},{name:"sockets-dir",options:[{name:["-h","--help"],description:"Print help"}]},{name:"stream-from-socket",options:[{name:["-h","--help"],description:"Print help"}]},{name:"figterm-socket-path",options:[{name:["-h","--help"],description:"Print help"}]},{name:"ipc",options:[{name:["-h","--help"],description:"Print help"}]},{name:"uninstall-for-all-users",options:[{name:["-h","--help"],description:"Print help"}]},{name:"uuidgen",options:[{name:["-h","--help"],description:"Print help"}]},{name:"ibus-bootstrap",options:[{name:["-h","--help"],description:"Print help"}]},{name:"detect-sandbox",options:[{name:["-h","--help"],description:"Print help"}]},{name:"open-uninstall-page",options:[{name:["-h","--help"],description:"Print help"}]},{name:"ssh-local-command",options:[{name:["-h","--help"],description:"Print help"}]},{name:"prompt-ssh",options:[{name:["-h","--help"],description:"Print help"}]},{name:"dump-state",options:[{name:["-h","--help"],description:"Print help"}]},{name:"finish-update",options:[{name:["-h","--help"],description:"Print help"}]},{name:"check-ssh",options:[{name:["-h","--help"],description:"Print help"}]},{name:"generate-ssh",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"codex",options:[{name:["-h","--help"],description:"Print help"}]},{name:"codex-accept",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"launch",options:[{name:["-h","--help"],description:"Print help"}]},{name:"quit",options:[{name:["-h","--help"],description:"Print help"}]},{name:"restart",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"onboarding",options:[{name:["-h","--help"],description:"Print help"}]},{name:"plugins",subcommands:[{name:"sync",options:[{name:["-h","--help"],description:"Print help"}]},{name:"update",options:[{name:["-h","--help"],description:"Print help"}]},{name:"add",options:[{name:["-h","--help"],description:"Print help"}]},{name:"remove",options:[{name:["-h","--help"],description:"Print help"}]},{name:"list",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"info",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"configure",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"man",options:[{name:["-h","--help"],description:"Print help"}]},{name:["run","r"],options:[{name:["-h","--help"],description:"Print help"}]},{name:"scripts",subcommands:[{name:"refresh",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:["integrations","integration"],subcommands:[{name:"install",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"daemon",options:[{name:["-h","--help"],description:"Print help"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help"}]},{name:"input-method",options:[{name:["-h","--help"],description:"Print help"}]},{name:"vscode",options:[{name:["-h","--help"],description:"Print help"}]},{name:["intellij","jetbrains"],options:[{name:["-h","--help"],description:"Print help"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"uninstall",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"daemon",options:[{name:["-h","--help"],description:"Print help"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help"}]},{name:"input-method",options:[{name:["-h","--help"],description:"Print help"}]},{name:"vscode",options:[{name:["-h","--help"],description:"Print help"}]},{name:["intellij","jetbrains"],options:[{name:["-h","--help"],description:"Print help"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"reinstall",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"daemon",options:[{name:["-h","--help"],description:"Print help"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help"}]},{name:"input-method",options:[{name:["-h","--help"],description:"Print help"}]},{name:"vscode",options:[{name:["-h","--help"],description:"Print help"}]},{name:["intellij","jetbrains"],options:[{name:["-h","--help"],description:"Print help"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"status",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help (see more with '--help')"}]},{name:"daemon",options:[{name:["-h","--help"],description:"Print help"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help"}]},{name:"input-method",options:[{name:["-h","--help"],description:"Print help"}]},{name:"vscode",options:[{name:["-h","--help"],description:"Print help"}]},{name:["intellij","jetbrains"],options:[{name:["-h","--help"],description:"Print help"}]},{name:"all",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"ai",options:[{name:["-h","--help"],description:"Print help"}]},{name:"telemetry",subcommands:[{name:"enable",options:[{name:["-h","--help"],description:"Print help"}]},{name:"disable",options:[{name:["-h","--help"],description:"Print help"}]},{name:"status",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"}]},{name:"pro",options:[{name:["-h","--help"],description:"Print help"}]},{name:"version",options:[{name:["-h","--help"],description:"Print help"}]},{name:"help-all",options:[{name:["-h","--help"],description:"Print help"}]},{name:"dashboard",options:[{name:["-h","--help"],description:"Print help"}]},{name:"wrapped",options:[{name:["-h","--help"],description:"Print help"}]},{name:"cli",options:[{name:["-h","--help"],description:"Print help"}]},{name:"app:running",options:[{name:["-h","--help"],description:"Print help"}]},{name:"bg:ssh",options:[{name:["-h","--help"],description:"Print help"}]},{name:"bg:tmux",options:[{name:["-h","--help"],description:"Print help"}]}],options:[{name:["-h","--help"],description:"Print help"},{name:["-V","--version"],description:"Print version"}]};g["2.14.2"]={subcommands:[{name:"login",options:[{name:["-e","--email"],description:"Email to login to",isRepeatable:!0,args:{name:"email",isOptional:!0}},{name:["-t","--token"],description:"Login with a fig user token",isRepeatable:!0,args:{name:"token",isOptional:!0}},{name:"--switchable",description:"Allow switching between accounts"}]},{name:"user",subcommands:[{name:"login",options:[{name:["-e","--email"],description:"Email to login to",isRepeatable:!0,args:{name:"email",isOptional:!0}},{name:["-t","--token"],description:"Login with a fig user token",isRepeatable:!0,args:{name:"token",isOptional:!0}},{name:"--switchable",description:"Allow switching between accounts"}]},{name:"tokens",subcommands:[{name:"new",options:[{name:["-t","--team"],args:{isOptional:!0}}]},{name:"list",options:[{name:["-t","--team"],args:{isOptional:!0}}]},{name:"revoke",options:[{name:["-t","--team"],args:{isOptional:!0}}]}]}]}]};g["2.15.0"]={subcommands:[{name:"restart",options:[{name:["-h","--help"],description:"Print help"}]}]};g["2.16.0"]={subcommands:[{name:"export",description:"Export your fig configs to a folder",options:[{name:["-h","--help"],description:"Print help"}]},{name:"help",subcommands:[{name:"export",description:"Export your fig configs to a folder"}]}]};var W=B;export{W as default,g as versions};
