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


Download files

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

Source Distribution

gmemo-0.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

gmemo-0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file gmemo-0.0.1.tar.gz.

File metadata

  • Download URL: gmemo-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for gmemo-0.0.1.tar.gz
Algorithm Hash digest
SHA256 76d883aeaeaa0303bd77dc36108bd485d50bdb5750055c61f9032969926c9963
MD5 0a9229b96c6f30e20301ba8edd775c6c
BLAKE2b-256 e05ea436008687e1f9d66951b33d730ebb3ae5aa04dd49a93e623ab4a3f96f28

See more details on using hashes here.

File details

Details for the file gmemo-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gmemo-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for gmemo-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 91c5750cdbf65fe874aded58b596d929b9a1fbcf6f10e2314e135e87a9afe3d3
MD5 126ec18a007e6391a0edd7965593e97d
BLAKE2b-256 927e7b8d1c0c194abc4f5cedd49ab0342628c728682f2c96e55da32ddbf1a4c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page