Skip to content

1focus-ai/f

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

f

CLI to move faster in software projects

It has deep integration into 1focus.ai. f stands for focus.

Install CLI

To install CLI, run: bun i -g @1focus/f. This should make f available in your PATH.

You can also run it via bunx @1focus/f@latest <command> to always use the latest version of the CLI.

Run

See f --help for instructions of what you can do.

Setup Dev

Install task. Then run task setup & follow instructions until it says ✔️ you are setup.

Commands

Run task to see all possible commands.

Help

f --help
f is CLI to move faster in software projects

Usage:
  f [command]

Run `f` without arguments to open the interactive command palette.

Available Commands:
  help             Help about any command
  commit           Generate a commit message with GPT-5 nano and create the commit
  version          Reports the current version of fgo

Flags:
  -h, --help   help for fgo

Use "f [command] --help" for more information about a command.

Notes

Running f without any arguments opens an embedded fzf palette so you can fuzzy-search commands and read their descriptions before executing them.

For f commit, export OPENAI_API_KEY in your shell profile (e.g. fish config) so the CLI can talk to OpenAI. This environment variable is the only requirement, so the command works in local shells and CI alike.

Contributing

Any PR to improve is welcome. codex & cursor are nice for dev. Great working & useful patches are most appreciated (ideally). Issues with bugs or ideas are welcome too.

Note that this CLI is very opinionated in how workflows are done. Suggestions are welcome of course but we want to give our happy path of how we at 1focus.ai plan to write complex software of any kind.

About

CLI to move faster in software projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published