question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Programmatic access to API

See original GitHub issue

What problem does this feature solve?

It will be easier to create tools that uses vue-cli

What does the proposed API look like?

import vue from 'vue-cli'

// run default behavior of vue-cli
vue.setup('template_name', 'app/path')

// run vue-cli but not asking for anything from users and using answers object instead
vue.setup('template_name', 'app/path', { / * answers */ })

// run vue-cli and trigger callback instead of use input
vue.setup('template_name', 'app/path', (question, next) => { /* ... */ })

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
gregpalacicommented, Jul 12, 2020

@termosa I think he means, and I was wondering too, how do you properly require(‘@vue/cli/lib’) etc in a node.js context to use it programmatically ? I’m looking into starting the ui from a node.js script personally. cheers

0reactions
termosacommented, Jul 11, 2019

@OneQMobile can you provide more information on what doesn’t work for you?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable Programmatic Access - AWS - Palo Alto Networks
Cloud NGFW Programmatic access allows you to create and manage NGFWs and rulestacks using REST APIs. Using these APIs, you can invoke ...
Read more >
Setting up API users for programmatic access
To create an API user · Navigate to the User access > Users page. · Under the API Users tab, click Add API...
Read more >
Introduction to APIs - Earth Data Science
In this module, you learn various ways to access, download and work with data programmatically. These methods include downloading text files ...
Read more >
Welcome to the IAM API Reference - AWS Identity and Access ...
AWS Identity and Access Management API reference. ... The SDKs provide a convenient way to create programmatic access to IAM and AWS.
Read more >
Programmatic access | UniProt help
Programmatic access. UniProt provides several application programming interfaces (APIs) to query and access its data programmatically: UniProt ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found