Giter VIP home page Giter VIP logo

recycle's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ctk3b hyc9527

recycle's Issues

Commands Should Autocomplete

It'd be nice to autocomplete both the commands ("new", "use", etc.) but also the names of the templates in the case of "use". So if I have a template called "LatexHomework" and I type in "Latex" I should be able to tab complete "LatexHomework"

Git Support

The idea of version-controlled templates isn't new. Recycle should support this (at a minimum, by ignoring ".git" directories in folders) A more intense solution might be optimal, but I'm not sure what it is.

"New" and "Use" behavior is inconsistent

Currently, if you use "new" to save a directory, and then "use" that template, the directory's contents get copied into the current directory. This is inconsistent with how it works with files. If you use "new" to save a file and then "use" that template, the file itself gets copied into the current directory.

I think that if "new" is used on a directory, the directory itself should be saved as a template, not just its contents. So if you were to do

re new DirectoryTest ~/MyDirectory
cd ~/Desktop
re use Directory Test

You would now have a directory called MyDirectory on the desktop.

Cant install via pip (Ubuntu 14.04)

Here are the details:

vadim@desktop:~$ sudo pip install recycle
Downloading/unpacking recycle
  Downloading recycle-1.0.0.tar.gz
  Running setup.py egg_info for package recycle
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/vadim/build/recycle/setup.py", line 7, in <module>
        with open(path.join(here, "DESCRIPTION.md"), encoding="utf-8") as f:
      File "/usr/lib/python2.7/codecs.py", line 881, in open
        file = __builtin__.open(filename, mode, buffering)
    IOError: [Errno 2] No such file or directory: '/home/vadim/build/recycle/DESCRIPTION.md'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/vadim/build/recycle/setup.py", line 7, in <module>

    with open(path.join(here, "DESCRIPTION.md"), encoding="utf-8") as f:

  File "/usr/lib/python2.7/codecs.py", line 881, in open

    file = __builtin__.open(filename, mode, buffering)

IOError: [Errno 2] No such file or directory: '/home/vadim/build/recycle/DESCRIPTION.md'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /home/vadim/.pip/pip.log

vadim@desktop:~$ pip --version
pip 1.0 from /usr/lib/python2.7/dist-packages (python 2.7)

Unit tests

Unit tests would really help speed the development by making sure things don't break.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.