Parcourir la source

No need to advertise `conf`

conf is Saturnin's internal command to access common configuration.  It
could be, in theory, useful for end-user to investigate the configuration,
but they would already need to know how it works and which configuration
keypaths or sections they want to look at.

Bettter hide it; it's not worth for the potential confusion.

Note that the command could actually even be removed one day since
internally it's much more efficient to use saturnin__conf().
Alois Mahdal il y a 7 ans
Parent
révision
c8b87ea85f
2 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0
    1
      src/saturnin.sh.skel
  2. 0
    1
      tests/cli/oracle/usage.stderr

+ 0
- 1
src/saturnin.sh.skel Voir le fichier

@@ -231,7 +231,6 @@ saturnin__lssc() {
231 231
     #
232 232
     # List subcommands
233 233
     #
234
-    echo conf
235 234
     find "$SATURNIN_LIBEXEC" \
236 235
         -mindepth 1 \
237 236
         -maxdepth 1 \

+ 0
- 1
tests/cli/oracle/usage.stderr Voir le fichier

@@ -8,7 +8,6 @@ options:
8 8
   --version      show version and exit
9 9
 
10 10
 commands:
11
-  conf
12 11
   bar
13 12
   baz
14 13
   foo