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.2.tar.gz (4.3 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.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for savit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4757f7555ab90f2cd10d7553d6d12c52c81e4ddb65c021da1334259e1be7511b
MD5 46af41ba713ed8b8378a4dd8e6314852
BLAKE2b-256 07ae8472eac44fb872431fa53d548291e3b90e0c489d1a4081fa85b3e88d817a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: savit-0.1.2-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.12-1-MANJARO

File hashes

Hashes for savit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea3e08b2f6b2fb2e9881711f060d1d05e62441419363a8012e7b6b1bacadf2ff
MD5 40b7ddce5c8e648ce1d9a3e530177f02
BLAKE2b-256 f2fa6dbf69ba5623cdbfd1d9b97a56e37e1e5747811d2954e9502ed84cd2fecb

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