Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the CLI #2

Merged
merged 3 commits into from May 16, 2017
Merged

Improve the CLI #2

merged 3 commits into from May 16, 2017

Conversation

achille-roussel
Copy link
Contributor

Here are a couple of cool stuff we can do with it:

$ ./ksuid -n 4
0o35Ftbt8TXsOUZ1D91tLT5zUsw
0o35FtjHPXAtq4hyGBgVQL6Wnox
0o35FujDQPUHsiNBuXlENVvboom
0o35FqevPFTaoKFEXyACHjKPn2o
$ ./ksuid -f template -t '{{ .Payload }}' -v $(./ksuid -n 3)
0o36QVc0DzOCJQ9jlTWSyvze5tW: 5A3585D86498DF0DE97F9F4F9C0262F6
0o36QZIqT8UISV2sgDzXrWLtq5p: D37BEC28DCFE5F04591666434EC97E91
0o36QUY87vKXy1ELx83Qq10dn6F: 374CCA83A1BA8F23D689FE414655DFEF
$ ./ksuid -f time $(./ksuid)
2017-05-16 00:20:33 -0700 PDT
$ ./ksuid -f raw $(./ksuid)
�ZOc��f�V�����w
$ ./ksuid -f template -t '{{ .Time }}: {{ .Payload }}' $(./ksuid)
2017-05-16 00:20:12 -0700 PDT: A137C5E11DBD6EF9907A2D62C6A0ADEB

Let me know what you think.

Copy link
Contributor

@rbranson rbranson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@rbranson rbranson merged commit 763d7d3 into master May 16, 2017
@rbranson rbranson deleted the multi-cli branch May 16, 2017 16:25
achille-roussel added a commit that referenced this pull request May 16, 2017
* improve the CLI
* add .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants