Skip to content

CLI tool to help you make documentations or tutorials by saving your commands while you work.

License

Notifications You must be signed in to change notification settings

ivansantiagojr/savit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

savit

Helping you to write docs by saving your commands

Usage:

$ savit [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • config: Saves your configurations to ~/.config/savit/config.toml
  • start: Start saving your commands
  • stop: Stop saving your commands and writes them to a file

savit config

Saves your configurations to ~/.config/savit/config.toml

Usage:

$ savit config [OPTIONS]

Options:

  • --open-file: Opens the config file [default: False]
  • --help: Show this message and exit.

savit start

Start saving your commands

Usage:

$ savit start [OPTIONS]

Options:

  • --help: Show this message and exit.

savit stop

Stop saving your commands and writes them to a file

Usage:

$ savit stop [OPTIONS]

Options:

  • --txt: Saves your commands to a .txt file [default: False]
  • --md: Saves your commands to a .md file [default: False]
  • --file PATH: File (may include path) to save your commands
  • --help: Show this message and exit.

Points of attention

  • Don't use aliases to savit commands, since savit works by reading your shell history, the app will work in an unexpected way if aliases are used;
  • Make sure to have your config file at ~/.config/savit/config.toml correctly set up;

Config file structure

[savit]
history_path = "" # path to your shell history file
output_format = "" # output format to use by deafault (txt or md)
output_folder = "" # folder to save your commands by default (use ./ to save commands from the location where savit runs)

About

CLI tool to help you make documentations or tutorials by saving your commands while you work.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages