toml-adapt - Man Page

adapt TOML files

Synopsis

toml-adapt [-h] [-path PATH] [-a {change,add,remove}] [-dep DEP] [-ver VER]

Options

-h--help

Show a help message and exit

-path PATH

Path to the .toml file

-a {change,add,remove}

Select action

-dep DEP

Dependency name

-ver VER

Version of dependency

Examples

Change dependency
toml-adapt -path pyproject.toml -a change -dep niaclass -ver 0.1.0
Add dependency
toml-adapt -path pyproject.toml -a add -dep niaclass -ver 0.1.0
Remove dependency
toml-adapt -path pyproject.toml -a remove -dep niaclass -ver 0.1.0

Info

June 2021