Skip to content

saurbhc/sway

Repository files navigation

sway logo

Sway: An Experimental Monorepo Management Solution for Python


Installation

$ pip install sway

Branch Management

Triggers git checkout <branch in 'dev' env>

$ sway branch -e dev

Multiple envs can be setup in .sway-config.yaml

Build Management

Builds package - via poetry

Builds repositories in .sway-config.yaml

$ sway build poetry

Copy the *.whl file just built to the current dir

$ sway build poetry --copy .

Config

config creation interactively

$ sway config init

config validation

$ sway config validate

For example config, see .sway-config.yml

Version

see sway version

$ sway --version

More Coming Soon...