Metadata-Version: 2.4
Name: nwolk
Version: 0.1.0
Summary: nwolk — CLI da Neurosia Cloud: instâncias, SSH, SCP, exposição e rede privada pelo terminal
Author-email: Neurosia <dev@neurosia.io>
License: Proprietary
Project-URL: Homepage, https://wolke.neurosia.io
Project-URL: Documentation, https://wolke.neurosia.io/docs/NCLI.md
Keywords: nwolk,neurosia,wolke,cloud,cli,vm,ssh,scp
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# nwolk — Neurosia Cloud CLI (Python)

Instala o comando `nwolk` via pip.

```bash
pip install neurosia-cli
nwolk login
nwolk list
nwolk ssh minha-vm
```

## Como funciona

O CLI é escrito em TypeScript e distribuído como **um único arquivo JavaScript**
sem dependências (`_bundle/nwolk.cjs`). Este pacote Python apenas:

1. Embute esse bundle
2. Localiza o Node.js do sistema
3. Repassa os argumentos preservando stdin/stdout/stderr

Assim `nwolk ssh` continua interativo e `nwolk list | jq` funciona em pipes.

## Requisito

Node.js 18+ no PATH. Se não estiver, o pacote instala mesmo assim e avisa
durante a instalação.

```bash
sudo apt install nodejs     # Ubuntu/Debian
brew install node           # macOS
```

## Build

```bash
# 1. Gere o bundle JS (na pasta cli/)
cd ../../cli && ./scripts/build-packages.sh

# 2. Copie para cá
cp build/nwolk.cjs ../python/sdk/nwolk/_bundle/

# 3. Gere o pacote
cd ../python/sdk && python3 -m build
```

## Publicar no PyPI

```bash
python3 -m pip install --upgrade build twine
python3 -m build
twine upload dist/*
```

## Licença

Proprietária — Neurosia.
