Skip to main content

CANDY Board Service CLI

Project description

# CANDY Board service CLI

[![GitHub release](https://img.shields.io/github/release/CANDY-LINE/candy-board-cli.svg)](https://github.com/CANDY-LINE/candy-board-cli/releases/latest)
[![License ASL2.0](https://img.shields.io/github/license/CANDY-LINE/candy-board-cli.svg)](https://opensource.org/licenses/Apache-2.0)

A CLI tool to communicate with a CANDY Board service running on systemd

## pip Installation

```
$ pip install candy-board-cli
```

## pip Uninstallation

```
$ pip candy-board-cli
```

## Development

### Prerequisites

* [pandoc](http://pandoc.org)
* [pypandoc](https://pypi.python.org/pypi/pypandoc/1.2.0)

On Mac OS:

```
$ brew install pandoc
$ pip install pypandoc
```

### Local Installation test

```
$ ./setup.py install --record files.txt
```

### Local Uninstallation test

```
$ cat files.txt | xargs rm -f
```

### Create local package

```
$ tar czvf candy-board-cli.tgz --exclude "./.*" --exclude build --exclude dist *
```

# Revision history
* 3.1.0
- Make `--suspend` and `--resume` options available for `apn ls`, `network show`, `sim show` and `modem show` commands

* 3.0.0
- Add new categories, `connection` and `gnss`
- Add new actions in `service` category

* 2.0.0
- Change license to Apache Software License 2.0
- Add a new option (`-o`) for providing network operator type when setting an APN
- Add a new option (`-o`) for passing optional arguments to `modem show` and `modem reset` commands

* 1.0.5
- Fix an issue where the shebang line in the published script pointed to a machine specific path (not to publish bdist_wheel)

* 1.0.3
- Make pypandoc dependency optional

* 1.0.2
- Fix an issue where the code could exit after opening a socket which caused socket error on the socket server

* 1.0.1
- Don't have users run modem reset command casually

* 1.0.0
- Initial public release

* 0.0.1
- Initial beta release

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

candy-board-cli-3.1.0.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file candy-board-cli-3.1.0.tar.gz.

File metadata

  • Download URL: candy-board-cli-3.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

File hashes

Hashes for candy-board-cli-3.1.0.tar.gz
Algorithm Hash digest
SHA256 d1c30217c03fdef14e238eb681a17dfbcf149676274412ae9e3a9c68c5d7f64e
MD5 4450319cf5e3d14d7b1212ca7c8560bf
BLAKE2b-256 26328f3e0d6234595be468bcf2dacaaec33f4980cb0b0c982d8198c77a49c9ce

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