GithubHelp home page GithubHelp logo

flatten's People

Contributors

goggle avatar plod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

flatten's Issues

Relative directory paths are not recognized

~/gopath/src/github.com/goggle/flatten$ ls -CF
dest/        flatten/  LICENSE  osabstraction/  test/
filesystem/  flattn*   main.go  README.md

~/gopath/src/github.com/goggle/flatten$ ./flattn test/ dest/ -s
Could not simulate the process. The following error occured:
test is not a directory

~/gopath/src/github.com/goggle/flatten$ ./flattn /home/anestis/gopath/src/github.com/goggle/flatten/test/ /home/anestis/gopath/src/github.com/goggle/flatten/dest/ -s
/home/anestis/gopath/src/github.com/goggle/flatten/dest
├── 11
├── 22
└── 33

These two commands are the same and should have the same result, but when relative syntax is used, the program doesn't recognize the directories.

Change default behavior of command-line interface.

I'm not happy with the default behavior of the command-line interface.

It's annoying to be asked to simulate the actions on the file system first, and since "only" the directory tree information can be lost and not the data itself, we should make if default to immediately perform the actions on the file system. This also should make the "--force" option obsolete. The "--simulate-only" option should be kept as it is.

Also, the "--include-source-files" option should be default behavior in my opinion. We could make a "--exclude-source-files" option instead.

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.