Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

CLI tool for the frojd intranet

Project description

This is a cli tool for working with the Fröjd Intranet.

Requirements

  • Python 2.7
  • Pip

Installation

Frojd-Intranet can be installed through pip.

Stable

sudo pip install frojd-intranet

Getting started

  1. Create a config file called .frojd-intranet in your home directory:

    {
        'base_url': 'https://url.to.intranet.se',
        'username': 'Ernest',
        'password': 'Hemingway'
    }
    
  2. Now run a test command: frojd-intranet search --project="My project

  3. Done!

Usage

Search after project:

frojd-intranet search --project="My project"

Returns:

Demo
Stage
Prod

List all stages containing to project

frojd-intranet search --project="My project"

Prints:

My project
My project 1

Show stage values

frojd-intranet search --project="My project" --stage="Prod"

Prints:

### SSH
Host: 127.0.0.1

Find field on stage

frojd-intranet search --project="My project" --stage="Prod" --search="SSH:Host"

Prints:

Host: 127.0.0.1

Versioning

We use semantic versioning.

Contributing

Want to contribute? Awesome. Just send a pull request.

License

Frojd-Intranet is released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for frojd_intranet, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size frojd_intranet-1.0.3.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page