Git Product home page Git Product logo

cataclysm-json-browser's People

Contributors

dzerus3 avatar rektrex avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

rektrex

cataclysm-json-browser's Issues

json command does not work

Describe the bug
Instead of returning a json dir with the corresponding values of an entry, it returns an arbitrary list of values which has little to do with what I specified.

To Reproduce

  1. Start the program
  2. Type out valid json command (i.e. json id apple)
  3. Receive bizarre result

Expected behavior
The function should do what the help text says.

getJsonDir should write down the JSON directory which it receives

Is your feature request related to a problem? Please describe.
The getJsonDir function currently repeatedly prompts user for a JSON directory, despite being told where to look.

Describe the solution you'd like
After being given the JSON directory, it should write the directory into a new file to be read from.

Describe alternatives you've considered
Typing the JSON directory out every time.

Implement command-line arguments

Is your feature request related to a problem? Please describe.
There is currently no good way to specify information outside the program about things like toggling graphical mode, resetting the JSON directory, etc.

Describe the solution you'd like
Implement command-line arguments with the argparse module.

Describe alternatives you've considered
Creating an additional configuration file.

readJsonDir does not work properly on Linux

Describe the bug
Instead of correctly reading the JSON directory path from the file as intended, the program instead returns a blank string.

To Reproduce

  1. Start the program
  2. Specify JSON directory as it asks
  3. Close program
  4. Start it again
  5. Be met with a new JSON directory prompt

Expected behavior
It should properly read and use the JSON directory

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.