• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rgs1 / zk_shell
79%
master: 82%

Build:
Build:
LAST BUILD BRANCH: CreateDockerVersion
DEFAULT BRANCH: master
Repo Added 10 Dec 2014 06:35AM UTC
Files 27
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH add-scripting-support
branch: add-scripting-support
CHANGE BRANCH
x
Reset
  • add-scripting-support
  • accept-dashes-in-keys
  • add-echo-command
  • add-edit-command
  • add-first-param-to-json-dupes-for-keys
  • add-match-parameter-for-4-letter-commands
  • add-pipe-cmd
  • add-reconfig-cmd
  • bump-kazoo-dependency
  • bump-xcmd-version-and-remove-conf-mgmt-code
  • chkzk
  • chkzk-add-state
  • copying-to-from-file
  • dont-install-libcppunit-dev
  • drop-strtobool-from-util
  • fix
  • fix-bug
  • fix-find
  • fix-util
  • fixes-for-py3k
  • import-complete-from-xcmd
  • improve-child-watch
  • improve-docs-for-watch
  • issue-11
  • json-append-remove
  • json-dupes-for-keys
  • json-set
  • labeled-booleans
  • ls-should-be-sorted
  • master
  • more-python-versions
  • move-historyfile-to-private-dir
  • persist-chkzk-settings
  • persist-config
  • pin-versions
  • port-to-xcmd
  • pretty-date-for-exists
  • print-last-zxid-as-hex
  • print-zxids-as-hex
  • release
  • remove-old-integration-leftovers
  • remove-to-bool
  • remove-util-join
  • session-info-match
  • set-json-many
  • some-flycheck-fixes
  • support-async-create
  • test-acl-reader
  • update-reqs
  • update-requirements
  • update-xcmd
  • use-3-5-0-for-testing
  • use-optional-int-float
  • use-quorum-for-tests
  • v1.0.0

pending completion
24

push

travis-ci

rgs1
Add support for writing scripts using -f

Sometimes it's inconvenient to pipe commands via
--run-from-stdin, so this adds support for scripts
using invoking zk-shell via #!.

Example:

$ cat <<EOF > joe.zs
connect localhost:2181
create /joe 'such a great reviewer'
create /joe/tasks ''
create /joe/tasks/pr-1000 'pending'
EOF

$ chmod +x joe.zs
$ ./joe.zs
/joe/tasks/pr-1000

More examples inside scripting/.

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>

2218 of 2821 relevant lines covered (78.62%)

2.35 hits per line

Relevant lines Covered
Build:
Build:
2821 RELEVANT LINES 2218 COVERED LINES
2.35 HITS PER LINE
Source Files on add-scripting-support
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24 add-scripting-support Add support for writing scripts using -f Sometimes it's inconvenient to pipe commands via --run-from-stdin, so this adds support for scripts using invoking zk-shell via #!. Example: $ cat <<EOF > joe.zs connect localhost:2181 create /joe 'such ... push 24 Dec 2014 05:47AM UTC rgs1 travis-ci pending completion  
See All Builds (335)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc