git style quoting for ActionItemOther
Added StringContainingQuotedPath, which is used for ActionItemOther. In the process, checked every ActionItemOther for those containing filenames, and made them use quoting. Sponsored-by: Graham Spencer on Patreon
This commit is contained in:
parent
d689a5b338
commit
2ba1559a8e
41 changed files with 158 additions and 89 deletions
|
@ -24,8 +24,9 @@ seek = withWords (commandAction . start)
|
|||
start :: [String] -> CommandStart
|
||||
start (name:g:[]) = do
|
||||
u <- Remote.nameToUUID name
|
||||
starting "ungroup" (ActionItemOther (Just name)) (SeekInput [name, g]) $
|
||||
perform u (toGroup g)
|
||||
starting "ungroup" (ActionItemOther (Just (UnquotedString name)))
|
||||
(SeekInput [name, g]) $
|
||||
perform u (toGroup g)
|
||||
start _ = giveup "Specify a repository and a group."
|
||||
|
||||
perform :: UUID -> Group -> CommandPerform
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue