commit | c36b5a63b8369f08149a9f5986fcc5a8fa51babe | [log] [tgz] |
---|---|---|
author | M. J. Fromberger <michael.j.fromberger@gmail.com> | Mon Jun 03 09:19:52 2019 -0700 |
committer | M. J. Fromberger <michael.j.fromberger@gmail.com> | Mon Jun 03 09:19:52 2019 -0700 |
tree | 5408747db4bd76240f93f167871b4ededdb5cd7e | |
parent | cef6e359ded8d648fc02c980b32a9f924bbff4a3 [diff] |
Use key:value initializers for the state machine. This change is a no-op, but I think improves the readability of the code. It turns out you can initialize the slice and array literals with key:value pairs where the key is an index.
http://godoc.org/bitbucket.org/creachadair/shell
The shell
package implements basic shell command-line splitting.