0.0.9 • Published 12 years ago
ios7crypt v0.0.9
ios7crypt - Encrypt and decrypt Cisco IOS7 passwords
HOMEPAGE
EXAMPLE
$ ios7crypt-cli -e monkey
050609012a4957
$ ios7crypt-cli -d 050609012a4957
monkey
NPM
https://www.npmjs.com/package/ios7crypt
INSTALL
$ npm install [-g] ios7crypt
REQUIREMENTS
- Node.js 6.9.1+
Optional
- Ruby 2.3+
- Bundler
- Cucumber
- Guard
- aspelllint
- editorconfig-cli (e.g.
go get github.com/amyboyd/editorconfig-cli
) - flcl (e.g.
go get github.com/mcandre/flcl/...
)
DEVELOPMENT
Test
Logic
Ensure the ios7crypt logic works as expected:
$ npm test
> ios7crypt@0.0.10 test /Users/andrew/Desktop/src/node-ios7crypt
> mocha
․
1 passing (36ms)
CLI
Ensure the CLI works as expected:
$ grunt cucumber
Feature: Run example tests
Scenario: Running example tests # features/run_example_tests.feature:3
Given the program has finished # features/step_definitions/steps.rb:1
Then the output is correct for each test # features/step_definitions/steps.rb:5
1 scenario (1 passed)
2 steps (2 passed)
0m0.142s
Lint
Keep the code tidy:
$ grunt lint
Spell Check
$ aspelllint
...
Local CI
Guard can automatically check for compliance on file change:
$ bundle
$ guard -G Guardfile-test
$ guard -G Guardfile-cucumber
$ guard -G Guardfile-lint
Hooks
See hooks/
.