Skip to main content

Saves your commands as you use them

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

savit-0.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

savit-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file savit-0.1.1.tar.gz.

File metadata

  • Download URL: savit-0.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/6.1.9-1-MANJARO

File hashes

Hashes for savit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6ef9af3c58d3cba6f39d9be894fa419ca5aac708f9210deaad4f3d3ecb1daa99
MD5 022a27920b7566bdfcda4eebe58bb7cc
BLAKE2b-256 05c9b6a98e5ad04819b5d49aae04fa9b9abfe32bb576cfd4d16df6f1a5970e0f

See more details on using hashes here.

File details

Details for the file savit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: savit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/6.1.9-1-MANJARO

File hashes

Hashes for savit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d6d91c6aa5bc2b06a0aa98006ec8e0210e5ffdc37d9e07e72109cfbf55dadb0
MD5 47b36fe6da9b12eb641011d982cc7d07
BLAKE2b-256 eda61c78a9d562679f53a564313d53754c2cbf6dba6c9449a8845d5e8b4471a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page