Code Monkey home page Code Monkey logo

freecli's People

Contributors

pavbiz avatar pavlosgi avatar

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

Watchers

 avatar  avatar  avatar

freecli's Issues

Allow options after arguments

I started trying this in a project but stumbled in an issue.

I do not seem to be able to have options after arguments.

Is this a known limitation?

Example:

cmd("analyse") {
      takesG[AnalyseConfig] {
        O.help -- "help" ::
          O.string - 'd' -- "directory" -~ req -~ des("The directory to be analysed") ::
          string -~ name("toolName") -~ des("The tool to analyse the code")
      } ::
        runs[AnalyseConfig] { config =>
          println(s"Analysing code in ${config.directory} with ${config.toolName}")
        }
    }

If I tun this command with analyse tool --directory /path/to/dir it does not work,
but with analyse --directory /path/to/dir tool it works.

If it is a known limitation, where should I look to fix this? Do you think is feasible or might be hard to achieve?

java.lang.ClassNotFoundException: cats.Cartesian

I'm using freecli with circe-0.10.1
This version of circe requires cats-1.4.0 while freecli requires cats-0.8.1

cats.Cartesian has been renamed to Semigroupal since cats-1.0.0
Now there was only a type alias called Cartesian.

Here is the problem:

  • If I use cats-0.8.1, there will be some newer classes in cats missing and could not even compile when using circe.
  • If I use cats-1.4.0, compile was totally fine but will raise a ClassNotFoundException when running freecli DSLs.

Is it re-compile freecli with higher version of cats be a solution here?

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.