Skip to main content

Command line application for global memo.

Project description

Install

pip install gmemo

usage

gmemo is command-line application.

$ gmemo --help
usage: gmemo [option | text]
Options and arguments:
-a     : Display all lines.
-h N   : Display N lines from the begining.
-t N   : Display N lines from the end.
$ gmemo
>>> --help
Commands:
-q        : Quit gmemo.
-s --save : Save curret memo.
--replace : Replace line.
--reset   : Initialize memo.
>>> global
>>> memo
>>> test
>>> -s
----------------
save succeeded!!
----------------
>>> -q
$ cd somewhere
$ gmemo
global
memo
test
>>> add
>>> text
>>> --save
----------------
save succeeded!!
----------------
>>> -q
$ gmemo
global
memo
test
add
text
>>> --replace
------------------------------
input line number for replace.
------------------------------
  1 | global
  2 | memo
  3 | test
  4 | add
  5 | text
>>> 3
-------------------
replace target line
-------------------
test
>>> replaced
-------------------
replace succeeded!!
-------------------
global
memo
replaced
add
text
>>> -q
$ gmemo add text from argument
$ gmemo
global
memo
test
add
text
add text from argument
>>> --reset
>>> reset
>>> -s
----------------
save succeeded!!
----------------
>>> -q
$ gmemo
reset
>>> --reset
>>> 1
>>> 2
>>> 3
>>> 4
>>> 5
>>> -s
----------------
save succeeded!!
----------------
>>> -q
$ gmemo -h 3
1
2
3
$ gmemo -t 2
4
5
$ gmemo -a
1
2
3
4
5

Memo location

Memo stored in home directory.

~/.global_memo_v0_0_1

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gmemo, version 0.0.1
Filename, size & hash File type Python version Upload date
gmemo-0.0.1-py3-none-any.whl (4.2 kB) View hashes Wheel py3
gmemo-0.0.1.tar.gz (3.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page