Skip to main content

Rotate your files via symlink

Project description

slot

Rotates a symlink between multiple different possible options.

Powered by Hy, a Lisp dialect with full Python interop.

Installation

pip install slot

Terminology

A target is the file name that you are going to be turning into a symbolic link.

A store is a repository of data files that act as potential options for a target.

An option is a data file inside of a store.

Usage

Create a new store

(and optionally ingest current file as an option)

Usage: slt stores create [OPTIONS] NAME TARGET

Options:
  --help  Show this message and exit.

Add an option to a store

Usage: slt stores ingest [OPTIONS] STORE_NAME FILE_NAME

Options:
  -n, --name TEXT       Name of the option this file becomes
  -s, --silent BOOLEAN  Disable user interaction
  --help                Show this message and exit.

List stores

Usage: slt list [OPTIONS]

Options:
  --help  Show this message and exit.

See available options for a store

Usage: slt options [OPTIONS] STORE_NAME

Options:
  --help  Show this message and exit.

Project details


Download files

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

Files for slot, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size slot-0.2.0-py3-none-any.whl (7.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size slot-0.2.0.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page