Commit Graph

9 Commits

Author SHA1 Message Date
Mauro Morales
d88983a906
Extract some commands into kairosctl (#310)
This PR extracts the registration command into a `kairos-register`
binary of its own. The old sub command is kept so users can see a
deprecation notice and adapt for a future release when it's removed. The
version number is shared between binaries.

⚠️ I'm not entirely sure about the gorelease, and would benefit
from a couple of extra 👀 on this, thanks!

relates to kairos-io/kairos#1211

---------

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: Mauro Morales <contact@mauromorales.com>
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Dimitris Karakasilis <dimitris@karakasilis.me>
Co-authored-by: Itxaka <itxaka.garcia@spectrocloud.com>
Co-authored-by: ci-robbot [bot] <105103991+ci-robbot@users.noreply.github.com>
Co-authored-by: mudler <mudler@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-21 11:04:15 +02:00
Oz Tiram
70903fdec8
🌱 add version information directly from git (#175)
Partial fix for https://github.com/kairos-io/kairos/issues/643

Signed-off-by: Oz Tiram <oz@spectrocloud.com>
2023-01-17 10:19:43 +01:00
Mauro Morales
1d074c4fda
Upgrade urfave/cli and make register's config flag required (#146)
With the upgrade of the cli pkg, making flags required is very simple,
it just needs an attribute `required: true`

Fixes https://github.com/kairos-io/kairos/issues/375

⚠️ breaking UX change

> In v2 flags must come before args. This is more POSIX-compliant. You
may need to update scripts, user documentation, etc.

This means that 

```
provier-kairos command ARG FLAG
```

is no longer valid, but I still think the change is worth it because
like the documentation says, the CLI will be more POSIX-compliant

Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: ci-robbot [bot] <105103991+ci-robbot@users.noreply.github.com>
Co-authored-by: mudler <mudler@users.noreply.github.com>
2022-12-27 19:29:01 +00:00
Oz N Tiram
a7e182b0ff
Fix broken documentation about pairing (#134)
Fix https://github.com/kairos-io/kairos/issues/509.

Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
2022-12-19 14:53:00 +01:00
Ettore Di Giacinto
79fd3633a5 ⚠️ Change P2P configuration setting reference
Signed-off-by: Ettore Di Giacinto <mudler@mocaccino.org>
2022-12-09 16:36:30 +01:00
Ettore Di Giacinto
4a17cff5e0 🎨 Finalize rebranding
there were few places that still had c3OS references.
2022-09-19 09:59:28 +00:00
Ettore Di Giacinto
359ed271c7 🎨 Rebrand
See: https://github.com/c3os-io/c3os/issues/88
2022-09-16 15:42:45 +00:00
mudler
5e1ba9265d Add recovery event 2022-08-16 12:45:27 +00:00
mudler
33eb2d9a84 🎨 Blend CLI into provider 2022-08-16 08:27:24 +00:00