Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/latitudesh/lsh

⚙️ Command-Line Interface for Latitude.sh
https://github.com/latitudesh/lsh

command-line command-line-interface

Last synced: about 11 hours ago
JSON representation

⚙️ Command-Line Interface for Latitude.sh

Awesome Lists containing this project

README

        

# lsh

lsh is the [Latitude.sh](http://latitude.sh/) command-line interface that will help you make it easier to retrieve any data from your team or perform any action you need.

## [](https://dash.readme.com/project/control/v2023-06-01/docs/overview)Installation

#### MacOS / Linux / WSL

Installing the latest version

#### Homebrew:

```
brew install latitudesh/tools/lsh
```

#### Installation Script:

```bash

curl -sSL https://raw.githubusercontent.com/latitudesh/lsh/main/install.sh | bash

```

#### Windows is not supported yet.

##

### From Github

Visit the Releases page and select any version you want to download.


## [](https://docs.latitude.sh/docs/getting-started)Getting Started

Log in into Latitude.sh. An API Key is required.

`lsh login `

List your servers

`lsh servers list`

## [](https://docs.latitude.sh/docs/commands) Commands

The list of the available commands is available [here](https://www.latitude.sh/docs/cli/commands).


## [](https://docs.latitude.sh/docs/examples-1) Examples

List a server with a specific hostname

```bash

lsh servers list --hostname

```

Create a server with Ubuntu 22

```bash

lsh servers create --operating_system ubuntu_22_04_x64_lts --project --site --hostname --plan

```

List all GPU plans

```bash

lsh plans list --gpu true

```

You can see more examples [here](https://docs.latitude.sh/docs/cli/examples). Reach out if you want to see other use cases on `lsh`.

## Troubleshooting
If you encounter any problems when installing the CLI with the installation script, you can use the command below to uninstall the CLI.

```bash

curl -sSL https://raw.githubusercontent.com/latitudesh/lsh/main/uninstall.sh | bash

```

## Docs

For more information, see the documentation.

- [lsh Docs](https://www.latitude.sh/docs/cli)

- [Product Docs](https://www.latitude.sh/docs)

- [API Docs](https://docs.latitude.sh/reference)

- [SDKs & Postman Collection](https://docs.latitude.sh/reference/client-libraries)

## Provide feedback and contribute

- [Open an issue](https://github.com/latitudesh/lsh/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) for questions, feedback, bug reports or feature requests.

- We welcome pull requests for bug fixes, new features, and improvements to the examples.