diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-22 14:31:56 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-22 14:31:56 -0700 |
commit | 26a97fed28b2c0b6444f2d57386e0c34198bc896 (patch) | |
tree | 945d623df2bc8e789ac77f324eb52ff9092f471e | |
parent | 1bc931c93e8a5c8290ad9afafb82ecf19ef73f26 (diff) | |
download | consfigurator-26a97fed28b2c0b6444f2d57386e0c34198bc896.tar.gz |
a better name for CMD:SINGLE
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r-- | consfigurator.asd | 2 | ||||
-rw-r--r-- | doc/introduction.rst | 2 | ||||
-rw-r--r-- | src/package.lisp | 4 | ||||
-rw-r--r-- | src/property/cmd.lisp (renamed from src/property/command.lisp) | 12 |
4 files changed, 10 insertions, 10 deletions
diff --git a/consfigurator.asd b/consfigurator.asd index 563e2f7..829c782 100644 --- a/consfigurator.asd +++ b/consfigurator.asd @@ -16,7 +16,7 @@ (:file "src/data") (:file "src/connection/ssh") (:file "src/connection/debian-sbcl") - (:file "src/property/command") + (:file "src/property/cmd") (:file "src/property/file") (:file "src/data/asdf") (:file "src/data/pgp"))) diff --git a/doc/introduction.rst b/doc/introduction.rst index 07a1fc4..1b1e85b 100644 --- a/doc/introduction.rst +++ b/doc/introduction.rst @@ -133,5 +133,5 @@ recommended package nicknaming schemes for use in consfigs, e.g.:: (defpackage :com.example.consfig (:use #:cl #:consfigurator) (:local-nicknames (#:file #:consfigurator.property.file) - (#:command #:consfigurator.property.command) + (#:cmd #:consfigurator.property.cmd) (#:data.pgp #:consfigurator.data.pgp))) diff --git a/src/package.lisp b/src/package.lisp index bc393c3..d765fcc 100644 --- a/src/package.lisp +++ b/src/package.lisp @@ -137,9 +137,9 @@ (defpackage :consfigurator.connection.debian-sbcl (:use #:cl #:consfigurator)) -(defpackage :consfigurator.property.command +(defpackage :consfigurator.property.cmd (:use #:cl #:consfigurator) - (:export #:run)) + (:export #:single)) (defpackage :consfigurator.property.file (:use #:cl #:consfigurator #:alexandria) diff --git a/src/property/command.lisp b/src/property/cmd.lisp index c1bb3f2..1e6a94c 100644 --- a/src/property/command.lisp +++ b/src/property/cmd.lisp @@ -15,14 +15,14 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with this program. If not, see <http://www.gnu.org/licenses/>. -(in-package :consfigurator.property.command) +(in-package :consfigurator.property.cmd) -(defprop run :posix (&rest args) - "A property which can be applied by running a shell command. ARGS is either -a single string specifying a shell-escaped command, or number of strings which -will be shell-escaped and then concatenated. +(defprop single :posix (&rest args) + "A property which can be applied by running a single shell command. ARGS is +either a single string specifying a shell-escaped command, or number of +strings which will be shell-escaped and then concatenated. -(Note that bypassing the shell could only be done within a :LISP property.) +(Note that bypassing the shell can only be done within a :LISP property.) Keyword argument :ENV is a plist of environment variables to be set when running the command, using env(1)." |