Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IDE-style autocomplete for your existing terminal & shell

License

NotificationsYou must be signed in to change notification settings

withfig/autocomplete

Badge: macOSBadge: DocumentationBadge: contributors

Amazon Q Developer CLIadds IDE-style completions for hundreds of popular CLIs likegit,npm,docker, andaws. Start typing, and Amazon Q populates contextually relevantsubcommands, options and arguments.

Amazon Q Developer CLI, formerly known asFig, is open source. Seeaws/amazon-q-developer-cli to learn more.

⚡️ Installation

NOTE: Once it's downloaded, launch the app to set up Amazon Q for commandline!


Demo of Amazon Q's CLI Completions in a terminal


👋 What are "completion specs"?

A completion spec is adeclarative schema that specifies thesubcommands,options andargs for a CLI tool. Amazon Q uses these schemas to generatesuggestions.


😎 Contribute your first spec in < 3 minutes

Use the steps below or follow our getting started guide:fig.io/docs

Prerequisites:

  • Download Amazon Q for command line
  • Node and Pnpm

Steps

  1. Make sure you havepnpminstalled, asthat's the package manager used in this repo.

  2. Clickhere to fork thisrepo.

  3. Clone your forked repo and create an example spec

    # Replace `YOUR_GITHUB_USERNAME` with your own GitHub usernamegit clone https://github.com/YOUR_GITHUB_USERNAME/autocomplete.git autocompletecd autocomplete# Add withfig/autocomplete as a remotegit remote add upstream https://github.com/withfig/autocomplete.git# Install packagespnpm install# Create an example spec (call it "abc")pnpm create-spec abc# Turn on "dev mode"pnpm dev
  4. Now go to your terminal and typeabc[space]. Your example spec will appear.😊

Other things to know

  • Edit your spec in TypeScript in thesrc/ folder
  • On save, specs are compiled to thebuild/ folder
  • Indev mode, specs are read from thebuild folder, and generators runevery keystroke.

📦 Other available package.json commands

# Typecheck all specs in the src/ folderpnpmtest# Compile typescripts specs from src/ folder to build/ folderpnpm build# Lint and fix issuespnpm lint:fix

🔥 Contributions

We would love contributions for:

  • New completion specs
  • Errors with existing completion specs (e.g. missing subcommands, options, orarguments)
  • Generatorsfor argument suggestions
  • Better descriptions, icons etc
  • Themes!

If you aren't able to contribute, please feel free to open anissue.

🙋‍♀️ FAQ

What terminals does Amazon Q work with?

Amazon Q for command line works with the native macOS Terminal app,iTerm,Tabby,Hyper,Kitty,WezTerm, andAlacritty. It also works in theintegrated terminals ofVSCode,JetBrains IDEs,Android Studio, andNova.

Want to see another terminal included? Check ourissue tracker and add yoursupport for it!

How does Amazon Q for command line work?

Amazon Q for command line uses the Accessibility API on Mac to position thewindow, and integrates with your shell to read what you've typed.

Does Amazon Q for command line work on Windows or Linux?

Not yet, Amazon Q for command line is only available on macOS for now.Windows andLinuxsupport is in progress!

How can I download Amazon Q?

Runbrew install amazon-q or, downloading the app ataws.amazon.com.Then, launch the Amazon Q app!

How do I submit a PR?

Check out ourHow to Contribute guide.Many of Amazon Q's 400+ contributors made their first open source contributionto Amazon Q!

Amazon Q for command line doesn't work for me!

Runq doctor to automatically debug issues with your installation. Otherwisemake an issue in our GitHub discussions community:aws/q-command-line-discussions


✨ Contributors

Grid of profile icons of the 400+ contributors

About

IDE-style autocomplete for your existing terminal & shell

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project


    [8]ページ先頭

    ©2009-2025 Movatter.jp