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.

Source Distribution

slot-0.3.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

slot-0.3.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file slot-0.3.0.tar.gz.

File metadata

  • Download URL: slot-0.3.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.4.85-1-lts

File hashes

Hashes for slot-0.3.0.tar.gz
Algorithm Hash digest
SHA256 bf1a91a3a1ce374865f4132e5395edc5d5dc6f8ed7a499b465379acb8532db3b
MD5 580813bae943eadc1c69429161bf2f20
BLAKE2b-256 b7941341de09994289420997fd314e78e4ce44cc66102090ece9f2c28532e7cb

See more details on using hashes here.

File details

Details for the file slot-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: slot-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.4.85-1-lts

File hashes

Hashes for slot-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5cc800045d9301c9e0cb2994aa4acd8d737b022eba34929ae61d4bac802b0b1
MD5 bbba40fd2752e21e0152f3a56690d3bd
BLAKE2b-256 51f0b52e6811bd175bf88cca205d2a6315a62e4a05d3b6561eccd69b99dca486

See more details on using hashes here.

Supported by

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