Giter Site home page Giter Site logo

posh-ynab's People

Contributors

connorgriffin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

posh-ynab's Issues

Tokens stored in plaintext on Linux

Tokens are currently being stored in plaintext on Linux and Mac installs. This is because the ConvertTo/From-SecureString commands are not available on non-Windows platforms as of this writing.

Could potentially add an option to password-encrypt the files using AES256, and request that password on module import or on command execution, but I don't think there'd be much interest in this.

Goal Information in Get-YnabCategory

I'm trying to pull goal information along with the category. I added the following to the JsonParsing file, anything else you can think of or that I might have missed to get this to work?

GoalType = $.goal_type
GoalCreationMonth = $
.goal_creation_month
GoalTarget = $.goal_target
GoalTargetMonth = $
.goal_target_month

Allow optional use of ID fields (BudgetID, CategoryID, etc.) instead of forcing users to use name values

Currently all fields that are unique (Category, Budget, Account, Payee, etc.) require the user to provide the name rather than the ID. This was done to avoid hundreds of branching parameter sets (max is 32 I believe, but more than a few is unmanageable) based on allowing a mix of IDs and Names for all fields. For example adding a transaction could have 16 different parameter sets at a minimum (different combinations of: Budget, Account, Category, Payee).

Right now these functions will lookup all items for a parameter, and then get the ID by searching the list by name. Each of these parameters could be reconfigured to perform a regex check to find out if an ID was entered instead, and avoid the recursive name/ID lookups if the regex check passes.

All IDs follow this format: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

  • Add a regex check, skip the name lookup if an ID is provided
  • Autocomplete should continue to use the names rather than IDs. Find out if there's a way to use the IDs while showing the user the names?
  • Piping outputs between functions should use the IDs instead of the names. May need to utilize custom formats for this.

Tab Complete not working on Linux

Not sure if this is supported or not, but Register-ArgumentCompleters is present on pwsh 6.1-preview, so I'm not sure why it's not working. No errors are being generated on module import, need to investigate.

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.