Giter VIP home page Giter VIP logo

gitlab-cli's Introduction

๐Ÿ’ป (duct-tape) Web-Developer | Germany

der-On's GitHub stats der-On's top langs

gitlab-cli's People

Contributors

der-on avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

gitlab-cli's Issues

Support alternative locations for config files

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

How to remove project?

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?

Refacture to v0.2

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?

gitlab cli always connecting to localhost instead of gitlab.com ?

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' }

How do I create a configuration file?

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?

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.