| GCLI-SNIPPETS(1) | General Commands Manual | GCLI-SNIPPETS(1) |
gcli snippets —
manage Gitlab snippets
gcli snippets |
[-l] [-s]
[-n n] |
gcli snippets |
delete snippet-id |
gcli snippets |
get snippet-id |
Use gcli snippets to list, create,
download or delete GitLab snippets. Without a subcommand specified,
gcli snippets will list all of your own
snippets.
-l,
--long-s,
--sorted-n,
--count nList all of your snippets:
$ gcli -t gitlab snippets
Delete snippet with id 69420:
$ gcli -t gitlab snippets delete 69420
Print snippet with id 69420 into your pager:
$ gcli -t gitlab snippets get 69420 | $PAGER
Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors.
-y flag to ask the user whether he is
sure about deleting a snippet.Please report bugs via E-Mail to ~herrhotzenplotz/gcli-discuss@lists.sr.ht.
Alternatively you can report them on any of the forges linked at https://herrhotzenplotz.de/gcli. However, the preferred and quickest method is to use the mailing list.
| 2024-Feb-05 | gcli 2.2.0 |