Coder Social home page Coder Social logo

Expose delimiter to commander? about vantage HOT 5 CLOSED

dthree avatar dthree commented on June 15, 2024
Expose delimiter to commander?

from vantage.

Comments (5)

dthree avatar dthree commented on June 15, 2024

Good idea. I'm currently working on a refactor (authentication fork), and I'll throw the delimiter feature into that. Out of town for about a week, but should be able to jump on this after that.

Could you please amplify on what you mean by exposing related system variables? One of the refactors of this fork is that the this in a Command action exposes a Session object which custom functions, so I should be able to tack on additional data to it pretty cleanly. Do you mean environmental variables? Please expand on that.

from vantage.

joesonw avatar joesonw commented on June 15, 2024

@dthree I am currently working on a user/group(linux like) module for vantage(including login stuff). In the process, I found it would be useful to get hands on delimiter. For the rest of it, I haven't come up with other stuff yet.

I know I can get a lot of information through this. But there are some variables (and some I don't know about it yet) are pre-configured (like delimiter), that are not mutable during runtime.

from vantage.

joesonw avatar joesonw commented on June 15, 2024

@dthree it would also be great to make vantage command and use command as plugable middlewares. So developers can use it if they need it.

from vantage.

dthree avatar dthree commented on June 15, 2024

Gotcha. Should be back in a few days. If you are still working on auth middleware before then, try to use what I have so far for basic auth as a model for this:

https://github.com/dthree/vantage/blob/authentication/lib/vantage-auth-basic.js

The auth fork is broken right now, but the general form for an auth middleware function is pretty solid as given in the above.

from vantage.

dthree avatar dthree commented on June 15, 2024

@joesonw this is now good to go - do you want to try this out?

from vantage.

Related Issues (20)

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.