Comments (5)
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.
@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.
@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.
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.
@joesonw this is now good to go - do you want to try this out?
from vantage.
Related Issues (20)
- Problem with exit command HOT 3
- Command arguments HOT 2
- [Question] How well does this interop with process managers like PM2? [eom] HOT 1
- vantage-auth-basic missing HOT 1
- several build errors HOT 5
- Can't get auth to work HOT 1
- Listen callback does not fire until first connection HOT 1
- Improve/correct project description
- Canβt use `.types` HOT 2
- Support multiple HapiJS connections HOT 2
- start boot
- Allow banner to be a function so banner can change depending on app state, or environment state
- Update to latest vorpal
- Release a new package HOT 4
- In the tour REPL, arrow up key loads 2nd latest command
- TypeError: vantage._pause is not a function HOT 2
- Command definition - when 0 is given as a argument, it's not recognized
- Vantage Command Missing Number Data HOT 1
- How to exit from vantage? HOT 2
- vorpal version in package that npm installs different from one in repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vantage.