Skip to main content

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.

Source Distribution

frojd_intranet-1.0.3.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file frojd_intranet-1.0.3.tar.gz.

File metadata

File hashes

Hashes for frojd_intranet-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ae030e65276a556c9ad4f220ccb77740c51c31e16f548e683e15c113a496204e
MD5 74439e2eb691bc5c418e3077bee2b969
BLAKE2b-256 8865a6bd5abd51f796af3b199aff64a0416ab4ee87a620a4a41c235376ddc5b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page