mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
feat: add yadm completions to the repo (#960)
This is a request to add yadm completions to the repo. These resemble the ones that are written for. The git one in your repo. Yadm is a dotfiles manager that leverages `git` but uses your home directory by default. To see the tool go to <https://yadm.io/docs/overview>
This commit is contained in:
parent
33ae4c55c2
commit
5ffdfca7e7
3 changed files with 1697 additions and 96 deletions
|
@ -1,96 +0,0 @@
|
|||
# Override location of yadm repository
|
||||
extern "yadm" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Print yadm version
|
||||
extern "yadm version" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Initialize new repository for tracking dotfiles
|
||||
extern "yadm init" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Manage configuration for yadm
|
||||
extern "yadm config" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Print list of files managed by yadm
|
||||
extern "yadm list" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Execute bootstrap script
|
||||
extern "yadm bootstrap" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Encrypt files matched by encrypt spec file
|
||||
extern "yadm encrypt" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Decrypt files matched by encrypt spec file
|
||||
extern "yadm decrypt" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Setup and process alternate files
|
||||
extern "yadm alt" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Update permissions
|
||||
extern "yadm perms" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Run sub-shell with all git variables set
|
||||
extern "yadm enter" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Pass options to git-crypt if installed
|
||||
extern "yadm git-crypt" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Pass options to the git config command
|
||||
extern "yadm gitconfig" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Migrate from v1 to v2
|
||||
extern "yadm upgrade" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Report internal yadm data
|
||||
extern "yadm introspect" [
|
||||
|
||||
...args
|
||||
]
|
||||
|
||||
# Clone remote repository for tracking dotfiles
|
||||
extern "yadm clone" [
|
||||
--bootstrap # Force run the bootstrap script
|
||||
--no-bootstrap # Do not execute bootstrap script
|
||||
...args
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue