https://github.com/raomuyang/doemm
A handy command line tool to help you manager complicated commands.
https://github.com/raomuyang/doemm
Last synced: 3 months ago
JSON representation
A handy command line tool to help you manager complicated commands.
- Host: GitHub
- URL: https://github.com/raomuyang/doemm
- Owner: raomuyang
- License: apache-2.0
- Created: 2018-12-02T08:01:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-06T06:50:57.000Z (over 6 years ago)
- Last Synced: 2025-01-29T06:49:47.529Z (5 months ago)
- Language: Go
- Homepage:
- Size: 1.02 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Do..Emm...
[](https://travis-ci.org/raomuyang/doemm)
[](https://goreportcard.com/report/github.com/raomuyang/doemm)
[](https://godoc.org/github.com/raomuyang/doemm)```
______ _____
| _ \ | ___|
| | | |___ | |__ _ __ ___ _ __ ___
| | | / _ \ | __| '_ ` _ \| '_ ` _ \
| |/ / (_) | _| |__| | | | | | | | | | |
|___/ \___(_|_)____/_| |_| |_|_| |_| |_|
```A handy command line tool to help you manager complicated commands.
## Quick start
Install via golang or download from [releases](https://github.com/raomuyang/doemm/releases)
```shell
go get github.com/raomuyang/doemm
```Record complex operations with simple commands
> supports encrypted text save mode if you need1. config for sync with gist, encrypt the information text of command lines to saved in application home (~/.doemm)
``` shell
doemm config -gist [-encrypt]
```2. save a command and give it an alias
```shell
# doeem -alias
doemm -alias db-host ssh -p 22 [email protected]
```3. quick call
```shell
doemm -s db-host
```4. multi-line input
```shell
doemm
```then you will enter the interactive interface
```
Input multipart commands in interactive
1. type emm.done to exit
2. type emm.alias.ALIAS_NAME to set alias of commands
emm...>
```5. push/pull to gist
> If you save sensitive information, it is highly recommended that you do not synchronize or synchronize separately with the -single parameter (although you are creating a secret gist)```
doemm pull/push [-single ]
```6. other operations
* list all
```shell
doemm -list
```* print commond(s) info with specified alias
```shell
doemm -print
```* delete
> -sync: synchronous delete operation into gist```shell
doemm rm -t [-sync]
```