项目作者: lionkor

项目描述 :
a simple command-line idea collection tool
高级语言: C
项目地址: git://github.com/lionkor/inspire.git
创建时间: 2020-01-19T21:23:20Z
项目社区:https://github.com/lionkor/inspire

开源协议:GNU General Public License v2.0

下载


inspire

a simple command-line idea collection tool!

I find myself often lacking ideas for new projects or other things to make, so I made this little command-line tool to remember any ideas i get for later!

How to build

Either run cmake . and then make, or just use gcc: gcc main.c -o inspire

Usage is simple!

  • To add a new idea that you have:

    1. $ inspire add [idea]

    This will read from stdin if you don’t supply text, so you can happily pipe into it:

    1. $ some_other_command | inspire add

    Examples:

    1. $ inspire add asteroids clone but you're the asteroid
    1. $ inspire add
    2. My new idea
  • To retrieve a random stored idea:

    1. $ inspire give

    Example:

    1. $ inspire give
    2. asteroids clone but you're the asteroid

    (the ability to remove items directly as a reaction to this is WIP)

  • To remove a specific idea from the list:

    inspire remove starts the process of removing an item from the idea list. This process is interactive.

    1. $ inspire remove
    2. ideas:
    3. ID idea
    4. 0: finish my game
    5. 1: send my friend a gift
    6. 2: take a walk to the forest
    7. 3: idea i dont want
    8. remove idea (ID) or "-1" to exit: 3
    9. ideas:
    10. ID idea
    11. 0: finish my game
    12. 1: send my friend a gift
    13. 2: take a walk to the forest
    14. remove idea (ID) or "-1" to exit: -1
    15. $
  • To see all stored ideas:

    1. $ inspire show
    2. my first idea!
    3. finish my game
    4. work on fixme's in 'ideas'
    5. asteroids clone but you're the asteroid

    this can then be piped to less, shuf, for other processing.

  • To clear all ideas, there is currently no builtin way. The best way is to remove the file $HOME/.inspire/data.