mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-23 19:29:17 +03:00
Update Wasp CLI bash completion list (#765)
* Update Wasp CLI bash completion list * Add completion and completion:generate to commands Co-authored-by: sgarcia <sgarcia@pop-os.localdomain>
This commit is contained in:
parent
f6da4f8899
commit
c018d284a9
@ -26,7 +26,7 @@ bashCompletion = do
|
||||
["db", cmdPrefix] -> listMatchingCommands cmdPrefix dbSubCommands
|
||||
_ -> liftIO . putStrLn $ ""
|
||||
where
|
||||
commands = ["new", "version", "start", "db", "clean", "build", "telemetry", "deps"]
|
||||
commands = ["new", "version", "waspls", "start", "db", "clean", "build", "telemetry", "deps", "info", "completion", "completion:generate"]
|
||||
dbSubCommands = ["migrate-dev", "studio"]
|
||||
listMatchingCommands :: String -> [String] -> Command ()
|
||||
listMatchingCommands cmdPrefix cmdList = listCommands $ filter (cmdPrefix `isPrefixOf`) cmdList
|
||||
|
Loading…
Reference in New Issue
Block a user