Skip to content

Allows for storage and consistency of config files locally across all projects. This is most useful for files that you would have to copy paste in between a bunch of different projects.

License

Notifications You must be signed in to change notification settings

josssch/saved-file-cli

Repository files navigation

SavedFile Utility

The savedfile utility is a CLI tool for managing files in a database.

Usage example

Installation

This project requires Rust to be installed. After ensuring that Rust is installed, you can install the project by running the appropriate script for your system:

On Unix-like systems:

./install.sh

On Windows:

install.bat

Usage

The savedfile utility is primarily used through three subcommands: from, use, and remove.

From

The from subcommand is used to save a file to the database.

savedfile from <file> --named <name> [--version <version>]
  • --named: What to name the provided file in the database. This argument is required.
  • --version: The version of a file to use.

Use

The use subcommand retrieves a file from the database.

savedfile use <name> [--save <local_name>] [--output] [--version <version>]
  • --save: What to save the file as locally.
  • --output: Copy the file instead of creating a link to it.
  • --version: The version of a file to use.

Remove

The remove subcommand removes a file from the database.

savedfile remove <name> [--version <version>]
  • --version: The version of a file to use.

List

The list subcommand lists all files or specific file if a name is provided in the database.

savedfile list <name>

About

Allows for storage and consistency of config files locally across all projects. This is most useful for files that you would have to copy paste in between a bunch of different projects.

Topics

Resources

License

Stars

Watchers

Forks