10 Commits

Author SHA1 Message Date
Sukrit Bhatt 4dacd64d49 cli: reset formatting at the end of question prompts (#1324)
* Properly reset formatting at the end of question prompts

Currently, the second prompt for the delete command uses a bold + red format mode using escape codes. However, this mode is not reset at the end and ends up leaking unto next lines on the terminal.

This change will make sure all `question` strings passed to the `Prompt` function will be closed properly by a reset escape sequence.

Includes a fmt change too.

* chore: fix code usage comment

---------

Co-authored-by: Abiola Ibrahim <git@abiosoft.com>
2025-05-21 07:45:44 +01:00
Abiola Ibrahim acb4cd0796 Add --layer flag for Ubuntu container layer (#281)
* core: add ubuntu layer

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: preserve home dir

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: preserve chroot exec dir

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: combine chroot scripts into one

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* net: fix interface gateway

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: more fixes

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* core: layer: refactor and rename

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* chore: refactor logger

Signed-off-by: Abiola Ibrahim <git@abiosoft.com>

* volume: revert default mount type to sshfs

* log: enable trace level log

* ci: add layer to integration test
2022-05-13 05:34:59 +01:00
Abiola Ibrahim f944599fea add ptp based network (#227)
* build: add vmnet script

* chore: minor refactors and fixes

* net: begin ptp network

* net: embed vmnet

* chore: remove obsolete dry-run command

* net: vmnet support checkpoint

* net: vmnet works

* net: add ip address to colima list

* net: make network instance dynamic

* net: fix embedded archives

* net: ptp network works

* net: route fixed, general refactor

* misc: minor refactor

* cli: enable force stop

* cli: add json to colima list

* k8s: bind to VM ip address

* fix lint
2022-03-19 16:39:09 +01:00
Abiola Ibrahim 422e9f1ef8 feat(logging): enable verbose logging (#47)
* feat: verbose output (#31)

* feat: verbose writer

* refactor: pass verbose flag to app in New() Function

* chore(logging): enable verbose logging

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

* chore(logging): filter redundant info from log

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

* chore(logging): minor refactor

Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>

Co-authored-by: Lukas <57864392+hown3d@users.noreply.github.com>
2021-10-27 19:45:36 +01:00
Abiola Ibrahim 1836d1f890 log: improved logging and download progress bar
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-10 10:57:55 +01:00
Abiola Ibrahim 608bf73133 log: use logger library
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-10-09 19:51:52 +01:00
Abiola Ibrahim d023d7dc0b go rewrite: checkpoint - nerdctl and docker runtimes work end to end
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-09-23 18:41:58 +01:00
Abiola Ibrahim 254cc5ca68 go rewrite: fix command and log outputs
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-09-19 22:16:54 +01:00
Abiola Ibrahim 7103a78fb5 go rewrite: add dry-run for testing, getting closer
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-09-19 20:48:02 +01:00
Abiola Ibrahim ced67e7178 go rewrite: more refactor, getting closer
Signed-off-by: Abiola Ibrahim <abiola89@gmail.com>
2021-09-19 17:06:37 +01:00