Add omarchy CLI (#5477)
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
co-authored by
David Heinemeier Hansson
parent
cdb9694360
commit
d2a4cc0c4d
+6
-1
@@ -1,6 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Add the named packages to the system if they're missing. Returns false if it couldn't be done.
|
||||
# omarchy:summary=Install Arch packages if they are missing
|
||||
# omarchy:group=install
|
||||
# omarchy:name=package
|
||||
# omarchy:args=<packages...>
|
||||
# omarchy:examples=omarchy install package jq ripgrep
|
||||
# omarchy:requires-sudo=true
|
||||
|
||||
if omarchy-pkg-missing "$@"; then
|
||||
sudo pacman -S --noconfirm --needed "$@" || exit 1
|
||||
|
||||
Reference in New Issue
Block a user