https://github.com/make-github-pseudonymous-again/sak
:sake: Swiss Army Knife in Python 3
https://github.com/make-github-pseudonymous-again/sak
Last synced: 8 months ago
JSON representation
:sake: Swiss Army Knife in Python 3
- Host: GitHub
- URL: https://github.com/make-github-pseudonymous-again/sak
- Owner: make-github-pseudonymous-again
- License: agpl-3.0
- Created: 2013-12-18T17:26:17.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2022-11-14T21:11:59.000Z (about 3 years ago)
- Last Synced: 2025-03-04T23:35:57.388Z (9 months ago)
- Language: Python
- Homepage:
- Size: 677 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sak : Swiss Army Knife
[](https://pypi.python.org/pypi/sak)
[](https://travis-ci.com/make-github-pseudonymous-again/sak)
[](https://codeclimate.com/github/make-github-pseudonymous-again/sak)
[](https://scrutinizer-ci.com/g/make-github-pseudonymous-again/sak/?branch=main)
[](https://scrutinizer-ci.com/g/make-github-pseudonymous-again/sak/?branch=main)
[](https://github.com/make-github-pseudonymous-again/sak/issues)
**sak** is a module, submodule and function based tool
install :
pip3 install sak
usage :
$ * <*args> <**kwargs>
will execute function `` from file `sak/module(/submodule)*.py` with
`*args` and `**kwargs`.
`**kwargs` are POSIX-like options and flags, to set a flag to a falsy
value just prepend `no` in front of the flag name. For example `--prompt` sets
`kwargs["prompt"] = True` while `--noprompt` sets `kwargs["prompt"]` = False.
Examples,
- retrieve info on git repos located under *.* and *workspace*
$ git info . workspace
- list functions and submodules available in module *site*
$ help info site
All modules, submodules and functions support shortcuts,
- hash remote ftp site:
$ si h
- concat js files in js/src and put output in js/min
$ j b js
All functions support kwargs,
- clone all your github repos:
$ gth d --username make-github-pseudonymous-again --noprompt
All functions support shrinking kwargs,
- clone all your github repos:
$ gth d -u make-github-pseudonymous-again --nopro
Currently available modules:
- bitbucket
- clipboard
- codeclimate
- config
- cpm
- css
- date
- git
- github
- gmail
- google
- help
- img
- js
- navigator
- npm
- orddir
- sak
- site
- sty
- sublime
- tex
- text
- train
- update
- url