Attributes
Includes Deno configuration
Repository
Current version released
2 months ago
Dependencies
Patty
patty is a CLI tool for managing git and working directories written in Deno.
It is useful to work with interactive filtering tools such as fzf and peco.
Inspired by ghq.
Installation
deno install --global \
--allow-run=git \
--allow-env=HOME,PATTY_ROOT \
--allow-read="${HOME}/patty","${PATTY_ROOT:-$HOME/patty}" \
--allow-write="${HOME}/patty","${PATTY_ROOT:-$HOME/patty}" \
--allow-net=github.com,api.github.com,gitlab.com \
jsr:@ryoo/patty
or
deno intall --global -A jsr:@ryoo/pattyUsage
Usage: patty
Version: 0.11.2
Description:
a CLI tool for managing git and working directories written in Deno.
Options:
-h, --help - Show this help.
-V, --version - Show the version number for this program.
Commands:
create <dir> - Create a working but non-git managed directory.
get <url> - Get a git repository from remote repository services.
list - Print git and working directories.
root - Print root path on patty's configuration.
help [command] - Show this help or the help of a sub-command.The patty create command creates the specified directory under the root directory and also creates a .patty directory.
patty recognizes the directory containing the .git or .patty directory as a working directory.
Environment Variable
PATTY_ROOT- If this environment variable is set,
pattywill use it as the root path. If it is not set, it defaults to$HOME/patty.
- If this environment variable is set,