var J=Object.defineProperty,I=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var S=(i,n,t)=>n in i?J(i,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[n]=t,v=(i,n)=>{for(var t in n||(n={}))L.call(n,t)&&S(i,t,n[t]);if(y)for(var t of y(n))U.call(n,t)&&S(i,t,n[t]);return i},b=(i,n)=>I(i,j(n));var l=(i,n,t)=>new Promise((s,o)=>{var r=m=>{try{a(t.next(m))}catch(p){o(p)}},e=m=>{try{a(t.throw(m))}catch(p){o(p)}},a=m=>m.done?s(m.value):Promise.resolve(m.value).then(r,e);a((t=t.apply(i,n)).next())});var E=t=>l(void 0,[t],function*({exec:i,query:n}){let{stdout:s}=yield i({command:"fig",args:["_","request","--route","/graphql","--method","--body",JSON.stringify({query:n})]});return JSON.parse(s).data}),$={script:["fig","settings","autocomplete.disableForCommands"],postProcess:i=>{let n=i.split(`
`).filter(o=>o.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(o=>({name:`Enable ${o}`,icon:"fig://icon?type=box",insertValue:JSON.stringify(n.filter(r=>r!=o))})))}},P={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)}},A={"autocomplete.disableForCommands":$,"autocomplete.theme":P},R={custom:()=>l(void 0,null,function*(){return["figterm","fig_cli","fig_desktop","daemon"].map(i=>({name:i}))})},F=(i,n)=>l(void 0,null,function*(){let{stdout:t}=yield n({command:"fig",args:["_","request","--method","GET","--route","/settings/all"]}),{settings:s,actions:o}=JSON.parse(t),r=o.map(e=>({name:e.identifier.startsWith("autocomplete.")?e.identifier.slice(13):e.identifier,description:e.description,icon:"\u26A1\uFE0F"}));return{name:"settings",subcommands:s.map(({settingName:e,description:a,type:m,options:p,default:c})=>{let f=m==="boolean"?["true","false"]:e.startsWith("autocomplete.keybindings.")?r:p==null?void 0:p.map(u=>({name:u.name||u,description:u.description||""})),h=A[e];return{name:e,description:a,icon:"fig://icon?type=commandkey",args:{name:m,default:c,suggestions:h?[]:f,generators:h}}})}});var O=i=>({cache:{strategy:"stale-while-revalidate"},custom:(n,t)=>l(void 0,null,function*(){let s=i.installed?["plugins","list","--format","json","--installed"]:["plugins","list","--format","json"],{stdout:o}=yield t({command:"fig",args:s});return JSON.parse(o).map(e=>{var a;return{name:e.name,icon:(a=e.icon)!=null&&a.startsWith("https://")?"\u{1F4E6}":e.icon,description:e.description}})})}),w={cache:{strategy:"stale-while-revalidate"},custom:(i,n)=>l(void 0,null,function*(){let t=i.findIndex(r=>r.startsWith("--team"));if(t===-1)return[];let s;return i[t].includes("=")?s=i[t+1].split("=")[1]:s=i[t+1],JSON.parse((yield n({command:"fig",args:["user","tokens","list","--team",s,"--format","json"]})).stdout).map(r=>({name:r.name,description:`Team: ${r.namespace.username}.${r.description?" "+r.description:""}`}))})},g={cache:{strategy:"stale-while-revalidate"},script:["fig","team","--list","--format","json"],postProcess:i=>JSON.parse(i).map(n=>({name:n.name,priority:75}))},k={cache:{strategy:"stale-while-revalidate",ttl:1e3*60},custom:(i,n)=>l(void 0,null,function*(){let t=i.at(-3);return JSON.parse((yield n({command:"fig",args:["team","--format","json",t,"members"]})).stdout).map(o=>({name:o.email,description:`Role: ${o.role}`}))})},x={cache:{strategy:"stale-while-revalidate",ttl:1e3*60},custom:(i,n)=>l(void 0,null,function*(){let t=i.at(-3);return JSON.parse((yield n({command:"fig",args:["team","--format","json",t,"invitations"]})).stdout).map(o=>({name:o.email,description:`Role: ${o.role}`}))})},q=`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
}`,V=i=>{var t,s,o,r;let n=[{name:["-h","--help"],description:"Show help for the script"}];for(let e of i.fields.parameters){let a={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":a.args={name:e.name};break;case"Selector":let m=[];(s=e==null?void 0:e.selector)!=null&&s.generators&&(m=(o=e==null?void 0:e.selector)==null?void 0:o.generators.filter(p=>p.type==="ShellScript").map(p=>{var c;return{script:["bash","-c",(c=p==null?void 0:p.shellScript)==null?void 0:c.script],splitOn:`
`}})),a.args={name:e.name,suggestions:(r=e==null?void 0:e.selector)==null?void 0:r.suggestions,generators:m};break;case"Path":a.args={name:e.name,template:"filepaths"};break;case"Checkbox":n.push(b(v({},a),{name:`--no-${e.name}`,exclusiveOn:[`--${e.name}`]})),a.exclusiveOn=[`--no-${e.name}`];break}n.push(a)}return n},N=(i,n)=>l(void 0,null,function*(){let t=`query Scripts {
    currentUser {
      namespace {
        username
        scripts {
          ...ScriptFields
        }
      }
      teamMemberships {
        team {
          namespace {
            username
            scripts {
              ...ScriptFields
            }
          }
        }
      }
    }
  }

  ${q}`,s=yield E({exec:n,query:t}),r=[...s.currentUser.namespace.scripts.map(e=>b(v({},e),{namespace:s.currentUser.namespace.username})),...s.currentUser.teamMemberships.flatMap(e=>e.team.namespace.scripts.map(a=>b(v({},a),{namespace:e.team.namespace.username})))].map(e=>{var c,f,h,u;let a=`${(c=e.fields.displayName)!=null?c:e.name} | @${e.namespace}`,m=[`@${e.namespace}/${e.name}`];e!=null&&e.isOwnedByCurrentUser&&m.push(e.name);let p=V(e);return{displayName:a,icon:(h=(f=e==null?void 0:e.fields)==null?void 0:f.icon)!=null?h:"\u26A1\uFE0F",name:m,insertValue:e!=null&&e.isOwnedByCurrentUser?e.name:m[0],description:(u=e==null?void 0:e.fields)==null?void 0:u.description,options:p}});return{name:"run",subcommands:r,filterStrategy:"fuzzy"}});var C={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}))},G={custom:(i,n)=>l(void 0,null,function*(){let t=i.slice(2).find(o=>!o.startsWith("-"));return t===void 0?[]:JSON.parse((yield n({command:"fig",args:["ssh",t,"--get-identities"]})).stdout).map(o=>({name:o.displayName}))})},T={script:["fig","user","list-accounts"],postProcess:i=>i.startsWith("error: ")?[]:i.trim().split(`
`).map(n=>({name:n,icon:"\u{1F464}"}))};var D={name:"fig",description:"The CLI for Fig",subcommands:[{name:"app",description:"Interact with the desktop app",subcommands:[{name:"install",description:"Install the Fig app",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"onboarding",description:"Run the Fig tutorial again",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"running",description:"Check if Fig is running",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"launch",description:"Launch the Fig desktop app",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"restart",description:"Restart the Fig desktop app",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"quit",description:"Quit the Fig desktop app",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"set-path",description:"Set the internal psudo-terminal path",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"uninstall",description:"Uninstall the Fig app",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"prompts",description:"Prompts shown on terminal startup",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"hook",description:"Hook commands",hidden:!0,subcommands:[{name:"editbuffer",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:[{name:"session-id"},{name:"integration"},{name:"tty"},{name:"pid"},{name:"histno"},{name:"cursor"},{name:"text"}]},{name:"event",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"event-name"}},{name:"hide",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"init",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:[{name:"pid"},{name:"tty"}]},{name:"integration-ready",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"integration"}},{name:"keyboard-focus-changed",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:[{name:"app-identifier"},{name:"focused-session-id"}]},{name:"pre-exec",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:[{name:"pid"},{name:"tty"}]},{name:"prompt",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:[{name:"pid"},{name:"tty"}]},{name:"ssh",options:[{name:"--version",description:"Print version information"},{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)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"debug",description:"Debug Fig",subcommands:[{name:"app",description:"Debug fig app",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"build",description:"Switch build",options:[{name:"--version",description:"Print version information"},{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:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"mode",isOptional:!0,suggestions:["on","off"]}},{name:"logs",description:"Show fig debug logs",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"files",isOptional:!0,generators:R}},{name:"ime",description:"Fig input method editor",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"command",suggestions:["install","uninstall","select","deselect","enable","disable","status","register"]}},{name:"prompt-accessibility",description:"Prompt accessibility",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"sample",description:"Sample fig process",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"unix-socket",description:"Debug fig unix sockets",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"verify-codesign",description:"Debug fig codesign verification",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"shell-integrations",description:"Toggle shell integrations",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"mode",isOptional:!0,suggestions:["on","off"]}},{name:"accessibility",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"action",isOptional:!0,suggestions:["refresh","reset","prompt","open","status"]}},{name:"help",description:"Print this message or the help of the given subcommand(s)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"settings",description:"Customize appearance & behavior",filterStrategy:"fuzzy",subcommands:[{name:"init",description:"Reload the settings listener",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"docs",description:"Get the settings documentation",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"open",description:"Open the settings file",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"sync",description:"Sync the current settings",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}],options:[{name:["-d","--delete"],description:"Delete"},{name:["-h","--help"],description:"Print help information"}],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:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"disable",description:"Disable fig tips",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"reset",description:"Reset the tips to the default",hidden:!0,options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"prompt",description:"Show the tips",hidden:!0,options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"install",description:"Install fig cli components",options:[{name:"--daemon",description:"Install only the daemon",exclusiveOn:["--dotfiles"]},{name:"--dotfiles",description:"Install only the shell integrations"},{name:"--no-confirm",description:"Don't confirm automatic installation"},{name:"--force",description:"Force installation of fig"},{name:["-h","--help"],description:"Print help information"}]},{name:"uninstall",description:"Uninstall fig",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}]},{name:"update",description:"Update dotfiles",options:[{name:["-y","--no-confirm"],description:"Force update"},{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",description:"Run diagnostic tests",options:[{name:["-f","--format"],description:"The format of the output",args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"}]}},{name:"--force",description:"Force limited diagnostic output"},{name:["-h","--help"],description:"Print help information"}]},{name:"init",description:"Generate the dotfiles for the given shell",options:[{name:["-h","--help"],description:"Print help information"}],args:[{name:"shell",suggestions:[{name:"bash",description:"Bash shell"},{name:"zsh",description:"Zsh shell"},{name:"fish",description:"Fish shell"}]},{name:"when",suggestions:["pre","post"]}],hidden:!0},{name:"source",description:"Sync your latest dotfiles",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"theme",description:"Get or set theme",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"theme",isOptional:!0,generators:P}},{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"}],icon:"fig://icon?type=twitter"},{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",isOptional:!0},icon:"fig://icon?type=github"},{name:"login",description:"Login to Fig",options:[{name:["-r","--refresh"],description:"Manually refresh the auth token"},{name:["-h","--help"],description:"Print help information"}]},{name:"logout",description:"Logout of Fig",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"user",description:"Details about the current user",options:[{name:["-h","--help"],description:"Print help information"}]},{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"}],args:{name:"shell",isOptional:!0,suggestions:[{name:"bash",description:"Bash shell compleations"},{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:"--version",description:"Print version information"},{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:"--help",description:"Print help information"},{name:"--version",description:"Print version information"}]},{name:"open",description:"Open the state file",options:[{name:"--help",description:"Print help information"},{name:"--version",description:"Print version information"}]}],options:[{name:"--version",description:"Print version information"},{name:["-d","--delete"],description:"Delete the state"},{name:["-h","--help"],description:"Print help information"}],args:[{name:"key",isOptional:!0},{name:"value",isOptional:!0}]},{name:"callback",description:"Callback used for the internal psudoterminal",options:[{name:"--version",description:"Print version information"},{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:"--version",description:"Print version information"},{name:"--daemon",description:"Install only the daemon",exclusiveOn:["--dotfiles"]},{name:"--dotfiles",description:"Install only the shell integrations"},{name:"--no-confirm",description:"Don't confirm automatic installation"},{name:"--force",description:"Force installation of fig"},{name:["-h","--help"],description:"Print help information"}]},{name:"uninstall",description:"Uninstall fig cli",options:[{name:"--version",description:"Print version information"},{name:"--daemon",description:"Uninstall only the daemon"},{name:"--dotfiles",description:"Uninstall only the shell integrations"},{name:"--binary",description:"Uninstall only the binary"},{name:["-h","--help"],description:"Print help information"}]},{name:"warn-user-when-uninstalling-incorrectly",description:"Notify the user that they are uninstalling incorrectly",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"animation",options:[{name:["-f","--filename"],args:{name:"filename",isOptional:!0}},{name:["-r","--rate"],args:{name:"rate",isOptional:!0}},{name:["-b","--before-text"],args:{name:"before-text",isOptional:!0}},{name:["-a","--after-text"],args:{name:"after-text",isOptional:!0}},{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"get-shell",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}],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"}],args:{name:"process",isOptional:!0,suggestions:[{name:"daemon",description:"Daemon process"},{name:"app",description:"Fig process"}]}},{name:"alpha",description:"(LEGACY) Old way to launch mission control",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}]},{name:"onboarding",description:"Run the Fig tutorial",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"plugins",subcommands:[{name:"sync",description:"Sync the current plugins (this will not update plugins that are already installed)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"update",description:"Update the installed plugins",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"add",description:"Install a specific plugin from the plugin store",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"plugin",generators:O({installed:!1})}},{name:"remove",description:"Uninstall a specific plugin",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"plugin",generators:O({installed:!0})}},{name:"list",description:"List all plugins available in the plugin store",options:[{name:["-f","--format"],description:"The output format",args:{name:"format",isOptional:!0,suggestions:[{name:"plain",description:"Outputs the results as markdown"},{name:"json",description:"Outputs the results as JSON"}]}},{name:"--version",description:"Print version information"},{name:["-i","--installed"],description:"Only list plugins that are installed"},{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}],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:"help",description:"Print this message or the help of the given subcommand(s)",args:{name:"subcommand",isOptional:!0}}],options:[{name:["-h","--help"],description:"Print help information"},{name:["-V","--version"],description:"Print version information"}]},d={};d["1.3.0"]={};d["1.3.1"]={subcommands:[{name:"debug",subcommands:[{name:"shell-integrations",remove:!0}]},{name:"settings",subcommands:[{name:"all",description:"List all the settings",options:[{name:["-f","--format"],description:"Format of the output",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:"--version",description:"Print version information"},{name:["-r","--remote"],description:"List the remote settings"},{name:["-h","--help"],description:"Print help information"}]}],options:[{name:["-f","--format"],description:"Format of the output",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:"install",options:[{name:"--daemon",exclusiveOn:["--input-method"]},{name:"--dotfiles",exclusiveOn:["--input-method"]},{name:"--input-method",description:"Prompt input method installation",exclusiveOn:["--daemon","--dotfiles"]},{name:"--ssh",description:"Install only the ssh integration"}]},{name:"ssh",description:"Enable/disable fig SSH integration",subcommands:[{name:"enable",description:"Enable ssh integration",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"disable",description:"Disable ssh integration",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"diagnostic",options:[{name:["-f","--format"],args:{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:"init",options:[{name:"--rcfile",args:{name:"rcfile",isOptional:!0}}]},{name:["internal","_"],subcommands:[{name:"local-state",subcommands:[{name:"all",description:"List all the settings",options:[{name:["-f","--format"],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:"--help",description:"Print help information"},{name:"--version",description:"Print version information"}]}],options:[{name:["-f","--format"],description:"Format of the output",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:"install",options:[{name:"--daemon",exclusiveOn:["--input-method"]},{name:"--dotfiles",exclusiveOn:["--input-method"]},{name:"--input-method",description:"Prompt input method installation",exclusiveOn:["--daemon","--dotfiles"]},{name:"--ssh",description:"Install only the ssh integration"}]},{name:"uninstall",options:[{name:"--ssh",description:"Uninstall only the ssh integration"}]}]},{name:"plugins",subcommands:[{name:"list",options:[{name:["-f","--format"],args:{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:"man",description:"Open manual page",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"command",isOptional:!0}}]};d["1.4.0"]={subcommands:[{name:"app",subcommands:[{name:"uninstall",options:[{name:"--user-data",description:"Remove configuration and data files"},{name:"--app-bundle",description:"Remove executable and"},{name:"--input-method",description:"Remove input method"},{name:"--terminal-integrations",description:"Remove terminal integrations (i.e. VSCode, iTerm2, etc.)"},{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:"debug",subcommands:[{name:"dotfiles",description:"Debug dotfiles",options:[{name:"--version",description:"Print version information"},{name:"--disable",description:"Disable debug mode"},{name:["-h","--help"],description:"Print help information"}]}]},{name:"user",subcommands:[{name:"login",description:"Login to Fig",options:[{name:"--version",description:"Print version information"},{name:["-r","--refresh"],description:"Manually refresh the auth token"},{name:["-h","--help"],description:"Print help information"}]},{name:"logout",description:"Logout of Fig",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"whoami",options:[{name:["-f","--format"],description:"Output format to use",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:"--version",description:"Print version information"},{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"}]},{name:"tokens",subcommands:[{name:"new",options:[{name:"--expires-date",description:"The expiration date of the token in RFC3339 format",exclusiveOn:["--expires-in"],args:{name:"expires-date",isOptional:!0}},{name:"--expires-in",description:'The time till the token expires (e.g. "90d")',exclusiveOn:["--expires-date"],args:{name:"expires-in",isOptional:!0}},{name:["-t","--team"],description:"The team namespace to create the token for",args:{name:"team",generators:g}},{name:"--help",description:"Print help information"},{name:"--version",description:"Print version information"}],args:{name:"name"}},{name:"list",options:[{name:["-t","--team"],description:"The team namespace to list the tokens for",exclusiveOn:["-p","--personal"],args:{name:"team",generators:g}},{name:["-f","--format"],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:"--help",description:"Print help information"},{name:"--version",description:"Print version information"},{name:["-p","--personal"],description:"Only list tokens owned by the current user",exclusiveOn:["-t","--team"]}]},{name:"revoke",options:[{name:["-t","--team"],description:"The team namespace to revoke the token for",args:{name:"team",generators:g}},{name:"--help",description:"Print help information"},{name:"--version",description:"Print version information"}],args:{name:"name",generators:w}}],options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}]},{name:"team",args:{name:"team",generators:g,isOptional:!0,loadSpec:{name:"team",subcommands:[{name:"members",description:"List all members on a team",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"remove",description:"Remove a member from a team",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"email",generators:k}},{name:"add",description:"Invite a member to a team",options:[{name:"--role",args:{name:"role",isOptional:!0,suggestions:["owner","admin","member"]}},{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"email"}},{name:"invitations",description:"List pending invitations to a team",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]},{name:"revoke",description:"Revoke an invitation to a team",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"email",generators:x}},{name:"help",description:"Print this message or the help of the given subcommand(s)",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}],args:{name:"subcommand",isOptional:!0}}]}},options:[{name:["-f","--format"],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"}]},{name:["internal","_"],subcommands:[{name:"hostname",options:[{name:"--version",description:"Print version information"},{name:["-h","--help"],description:"Print help information"}]}]}]};d["1.4.1"]={subcommands:[{name:"app",subcommands:[{name:"install",options:[{name:"--version",remove:!0}]},{name:"onboarding",options:[{name:"--version",remove:!0}]},{name:"running",options:[{name:"--version",remove:!0}]},{name:"launch",options:[{name:"--version",remove:!0}]},{name:"restart",options:[{name:"--version",remove:!0}]},{name:"quit",options:[{name:"--version",remove:!0}]},{name:"set-path",options:[{name:"--version",remove:!0}]},{name:"uninstall",options:[{name:"--user-data",isRepeatable:!0},{name:"--app-bundle",isRepeatable:!0},{name:"--input-method",isRepeatable:!0},{name:"--terminal-integrations",isRepeatable:!0},{name:"--daemon",isRepeatable:!0},{name:"--dotfiles",isRepeatable:!0},{name:"--ssh",isRepeatable:!0},{name:"--no-open",isRepeatable:!0},{name:"--version",remove:!0}]},{name:"prompts",options:[{name:"--version",remove:!0}]}]},{name:"hook",subcommands:[{name:"editbuffer",options:[{name:"--version",remove:!0}]},{name:"hide",options:[{name:"--version",remove:!0}]},{name:"init",options:[{name:"--version",remove:!0}]},{name:"integration-ready",options:[{name:"--version",remove:!0}]},{name:"keyboard-focus-changed",options:[{name:"--version",remove:!0}]},{name:"pre-exec",options:[{name:"--version",remove:!0}]},{name:"prompt",options:[{name:"--version",remove:!0}]},{name:"ssh",options:[{name:"--prompt",isRepeatable:!0},{name:"--version",remove:!0}]},{name:"event",remove:!0}]},{name:"debug",subcommands:[{name:"app",options:[{name:"--version",remove:!0}]},{name:"dotfiles",options:[{name:"--disable",isRepeatable:!0},{name:"--version",remove:!0}]},{name:"build",options:[{name:"--version",remove:!0}]},{name:"autocomplete-window",options:[{name:"--version",remove:!0}]},{name:"logs",options:[{name:"--version",remove:!0}],args:{isVariadic:!0}},{name:"ime",options:[{name:"--version",remove:!0}]},{name:"prompt-accessibility",options:[{name:"--version",remove:!0}]},{name:"sample",options:[{name:"--version",remove:!0}]},{name:"unix-socket",options:[{name:"--version",remove:!0}]},{name:"verify-codesign",options:[{name:"--version",remove:!0}]},{name:"accessibility",options:[{name:"--version",remove:!0}]}]},{name:"settings",subcommands:[{name:"init",options:[{name:"--version",remove:!0}]},{name:"docs",options:[{name:"--version",remove:!0}]},{name:"open",options:[{name:"--version",remove:!0}]},{name:"sync",options:[{name:"--version",remove:!0}]},{name:"all",options:[{name:["-f","--format"],isRepeatable:!0},{name:["-r","--remote"],isRepeatable:!0},{name:"--version",remove:!0}]}],options:[{name:["-f","--format"],isRepeatable:!0},{name:["-d","--delete"],isRepeatable:!0}]},{name:"tips",subcommands:[{name:"enable",options:[{name:"--version",remove:!0}]},{name:"disable",options:[{name:"--version",remove:!0}]},{name:"reset",options:[{name:"--version",remove:!0}]},{name:"prompt",options:[{name:"--version",remove:!0}]}]},{name:"install",options:[{name:"--daemon",isRepeatable:!0},{name:"--dotfiles",isRepeatable:!0},{name:"--input-method",isRepeatable:!0},{name:"--no-confirm",isRepeatable:!0},{name:"--force",isRepeatable:!0},{name:"--ssh",isRepeatable:!0}]},{name:"ssh",subcommands:[{name:"enable",options:[{name:"--version",remove:!0}]},{name:"disable",options:[{name:"--version",remove:!0}]}]},{name:"update",options:[{name:["-y","--no-confirm"],isRepeatable:!0}]},{name:"diagnostic",options:[{name:["-f","--format"],isRepeatable:!0},{name:"--force",isRepeatable:!0}]},{name:"init",options:[{name:"--rcfile",isRepeatable:!0}]},{name:"theme",options:[{name:"--list",exclusiveOn:["--folder"],isRepeatable:!0},{name:"--folder",exclusiveOn:["--list"],isRepeatable:!0}]},{name:"issue",options:[{name:["-f","--force"],isRepeatable:!0}],args:{isVariadic:!0}},{name:"login",options:[{name:["-r","--refresh"],isRepeatable:!0},{name:"--hard-refresh",description:"Manually refresh the auth token",isRepeatable:!0}]},{name:"user",subcommands:[{name:"login",options:[{name:["-r","--refresh"],isRepeatable:!0},{name:"--hard-refresh",description:"Manually refresh the auth token",isRepeatable:!0},{name:"--version",remove:!0}]},{name:"logout",options:[{name:"--version",remove:!0}]},{name:"whoami",options:[{name:["-f","--format"],isRepeatable:!0},{name:["-e","--only-email"],isRepeatable:!0},{name:"--version",remove:!0}]},{name:"tokens",subcommands:[{name:"new",options:[{name:"--expires-date",isRepeatable:!0},{name:"--expires-in",isRepeatable:!0},{name:["-t","--team"],isRepeatable:!0},{name:"--version",remove:!0}]},{name:"list",options:[{name:["-t","--team"],isRepeatable:!0},{name:["-f","--format"],isRepeatable:!0},{name:["-p","--personal"],isRepeatable:!0},{name:"--version",remove:!0}]},{name:"revoke",options:[{name:["-t","--team"],isRepeatable:!0},{name:"--version",remove:!0}]},{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)",args:{name:"subcommand",isOptional:!0}}],options:[{name:"--version",remove:!0}]}]},{name:"team",subcommands:[{name:"members",options:[{name:"--version",remove:!0}]},{name:"remove",options:[{name:"--version",remove:!0}]},{name:"add",options:[{name:"--role",isRepeatable:!0},{name:"--version",remove:!0}]},{name:"invitations",options:[{name:"--version",remove:!0}]},{name:"revoke",options:[{name:"--version",remove:!0}]}],options:[{name:["-f","--format"],isRepeatable:!0},{name:"--list",isRepeatable:!0},{name:"--new",isRepeatable:!0},{name:"--delete",isRepeatable:!0}]},{name:"doctor",options:[{name:"--verbose",isRepeatable:!0},{name:"--strict",isRepeatable:!0}]},{name:"completion",args:{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","_"],subcommands:[{name:"prompt-dotfiles-changed",options:[{name:"--version",remove:!0}]},{name:"local-state",subcommands:[{name:"init",options:[{name:"--version",remove:!0}]},{name:"open",options:[{name:"--version",remove:!0}]},{name:"all",options:[{name:["-f","--format"],isRepeatable:!0},{name:"--version",remove:!0}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",args:{name:"subcommand",isOptional:!0}}],options:[{name:["-f","--format"],isRepeatable:!0},{name:["-d","--delete"],isRepeatable:!0},{name:"--version",remove:!0}]},{name:"callback",options:[{name:"--version",remove:!0}]},{name:"install",options:[{name:"--daemon",isRepeatable:!0},{name:"--dotfiles",isRepeatable:!0},{name:"--input-method",isRepeatable:!0},{name:"--no-confirm",isRepeatable:!0},{name:"--force",isRepeatable:!0},{name:"--ssh",isRepeatable:!0},{name:"--version",remove:!0}]},{name:"install-ibus",options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"fig-ibus-engine-location"}},{name:"uninstall",options:[{name:"--daemon",isRepeatable:!0},{name:"--dotfiles",isRepeatable:!0},{name:"--binary",isRepeatable:!0},{name:"--ssh",isRepeatable:!0},{name:"--version",remove:!0}]},{name:"get-shell",options:[{name:"--version",remove:!0}]},{name:"hostname",options:[{name:"--version",remove:!0}]},{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"}},{name:"--body",isRepeatable:!0,args:{name:"body",isOptional:!0}},{name:["-h","--help"],description:"Print help information"}]},{name:"warn-user-when-uninstalling-incorrectly",remove:!0},{name:"animation",remove:!0}]},{name:"plugins",subcommands:[{name:"sync",options:[{name:"--version",remove:!0}]},{name:"update",options:[{name:"--version",remove:!0}]},{name:"add",options:[{name:"--version",remove:!0}]},{name:"remove",options:[{name:"--version",remove:!0}]},{name:"list",options:[{name:["-f","--format"],isRepeatable:!0},{name:["-i","--installed"],isRepeatable:!0},{name:"--version",remove:!0}]}]},{name:"man",args:{isVariadic:!0}},{name:["run","r","workflow","workflows","flow","flows"],description:"Search for and execute workflows",filterStrategy:"fuzzy",options:[{name:["-h","--help"],priority:20,description:"Print help information"}],generateSpec:N},{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}}]};d["1.4.3"]={subcommands:[{name:"ssh",subcommands:[{name:"enable",remove:!0},{name:"disable",remove:!0},{name:"help",remove:!0}],options:[{name:["-a","--auth"],description:"Identity to connect with",args:{name:"auth",generators:G}}],args:{name:"host",filterStrategy:"fuzzy",generators:C}},{name:"login",options:[{name:["-r","--refresh"],description:"Refresh the auth token if expired"},{name:"--hard-refresh",description:"Force a refresh of the auth token"}]},{name:"user",subcommands:[{name:"login",options:[{name:["-r","--refresh"],description:"Refresh the auth token if expired"},{name:"--hard-refresh",description:"Force a refresh of the auth token"}]},{name:"tokens",subcommands:[{name:"list",options:[{name:["-p","--personal"],remove:!0}]}]}]},{name:"team",subcommands:[{name:"members",description:"List all members on a team",options:[{name:["-h","--help"],description:"Print help information"},{name:"--version",remove:!0}]},{name:"remove",description:"Remove a member from a team",options:[{name:["-h","--help"],description:"Print help information"},{name:"--version",remove:!0}],args:{name:"email"}},{name:"add",description:"Invite a member to a team",options:[{name:"--role",args:{name:"role",isOptional:!0,suggestions:["owner","admin","member"]}},{name:["-h","--help"],description:"Print help information"},{name:"--version",remove:!0}],args:{name:"email"}},{name:"invitations",description:"List pending invitations to a team",options:[{name:["-h","--help"],description:"Print help information"},{name:"--version",remove:!0}]},{name:"revoke",description:"Revoke an invitation to a team",options:[{name:["-h","--help"],description:"Print help information"},{name:"--version",remove:!0}],args:{name:"email"}},{name:"help",description:"Print this message or the help of the given subcommand(s)",args:{name:"subcommand",isOptional:!0}}]},{name:["internal","_"],subcommands:[{name:"request",options:[{name:"--method",args:{isOptional:!0,suggestions:["GET","POST","PUT","DELETE","HEAD","OPTIONS","CONNECT","PATCH","TRACE"]}}]},{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:"onboarding",hidden:!0},{name:"plugins",subcommands:[{name:"list",options:[{name:"--fields",description:"Fields to include in the output",isRepeatable:!0,args:{name:"fields",isOptional:!0}}]},{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"}],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:["workflow","run","r","workflows","snippet","snippets","flow","flows"],args:{name:"args",isVariadic:!0,isOptional:!0}},{name:"integrations",description:"Managed system integrations",subcommands:[{name:"install",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"daemon",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",args:{name:"subcommand",isOptional:!0}}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"uninstall",subcommands:[{name:"dotfiles",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"daemon",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"ssh",options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",args:{name:"subcommand",isOptional:!0}}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)",args:{name:"subcommand",isOptional:!0}}],options:[{name:["-h","--help"],description:"Print help information"}]},{name:"alpha",remove:!0}]};d["1.4.7"]={subcommands:[{name:"ssh",options:[{name:"--get-identities"}]},{name:["internal","_"],subcommands:[{name:"request",options:[{name:"--namespace",isRepeatable:!0,args:{name:"namespace",isOptional:!0}}]}]},{name:"integrations",description:"Manage system integrations"}]};d["1.4.10"]={subcommands:[{name:"ssh",options:[{name:["-a","--auth"],args:{isOptional:!0}}]},{name:"login",options:[{name:"--switchable",hidden:!0}],args:{name:"email",isOptional:!0}},{name:"user",subcommands:[{name:"login",options:[{name:"--switchable",hidden:!0}],args:{name:"email",isOptional:!0}},{name:"tokens",description:"Subcommand for dealing with tokens"},{name:"whoami",description:"Prints details about the current user"},{name:"plan",description:"Prints details about the user's plan",hidden:!0,options:[{name:["-f","--format"],description:"Output format to use",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"}]},{name:"list-accounts",description:"List all accounts that can be switch to",hidden:!0,options:[{name:["-f","--format"],description:"Output format to use",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"}]},{name:"switch",description:"Switch to a switchable account",hidden:!0,options:[{name:["-h","--help"],description:"Print help information"}],args:{name:"email",generators:T}}]},{name:["internal","_"],subcommands:[{name:"fig-socket-path",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:"ai",description:"English -> Bash translation",options:[{name:["-n","--n"],description:"Number of completions to generate (must be <=5)",hidden:!0,args:{name:"n",isOptional:!0}},{name:["-h","--help"],description:"Print help information"}],args:{name:"input",isVariadic:!0,isOptional:!0}},{name:"pro",description:"Fig Pro",options:[{name:["-h","--help"],description:"Print help information"}]}]};var B=D;export{B as default,d as versions};
