der-on / gitlab-cli Goto Github PK
View Code? Open in Web Editor NEWNode.js based CLI tool for the GitLab API
License: BSD 3-Clause "New" or "Revised" License
Node.js based CLI tool for the GitLab API
License: BSD 3-Clause "New" or "Revised" License
Support alternative locations for config files.
(Hope I'm not too annoying with all these bug reports, and tank you for recent updates :) )
Now thing is that, after each update I need to recreate my config profiles because each user created file in /usr/lib/node_modules/gitlab-cli/config is deleted on installation or upgrade.
Please add option to provide custom config file location or make something like ~/.config/gitlab as default location for config.
Another option would be to read config from ~/.config/git/config
Just thought I'd let you know if you didn't already. But during install I get this warning:
npm WARN deprecated [email protected]: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
Hello,
I got short question.
How to remove/delete project? I can succesfully create new one, but cannot delete.
Could someone provide example how to do this task?
to easily populate new or updated resources. "data" should get comma seperated list of key=value pairs, data-json a JSON string
Will break api, but make it more consistent and flexible.
Use jake task runner instead?
Better output of long lists, maybe as tables?
Interactive mode?
Allow multiple gitlabs to be used.
Allow access to gitlab over https.
Use node-configure?
I want to use the gitlab cli with gitlab.com but no matter what I put in the config "url" field gitlab cli always connects to 127.0.0.1, how can I use it with gitlab.com ?
gitlab get project
{ [GitlabRequestError: connect ECONNREFUSED 127.0.0.1:80 (req "error"), GET undefined/api/v3/users -1
headers: {}]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 80,
name: 'GitlabRequestError',
data: { resBody: undefined },
headers: {},
statusCode: undefined,
url: 'undefined/api/v3/users',
method: 'get' }
Example:
gitlab get namespace/project/issue/1 --json
getting issues in project "project" ....
{ id: 22,
iid: 7,
Should be:
{ "id": 22,
"iid": 7,
Is this possible at all with the API?
shows 404
As in topic.
-u "somename" or --user="somename" has no effect.
looking to change a project status from private to public.
gitlab update user/repo
what else should i be adding?
I have the following in config/default.js
:
var config = {
"url": "http://example.com",
"username": "root",
"privateToken": "some_token"
}
module.exports = config;
Running from the config
dir, or the parent of the config
, does not seem to work. Renaming default.js
to default
also does not work. I get the following error:
jose@mactaku:~/Sites/projects/temp/config $ gitlab list repositories
module.js:340
throw err;
^
Error: Cannot find module '../config/default'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/local/share/npm/lib/node_modules/gitlab-cli/bin/cli.js:28:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.