Skip to content

README: document sotto export as the inverse of import #146

Description

@Maxerns

Why this is a good first issue

`sotto import .env` is now in the Quick start (#136). The inverse already exists: `sotto export --format dotenv` (see `crates/cli/src/main.rs`). It is not in the README, so round-tripping a file is half-documented.

Copy only.

What to do

In README.md Quick start, add one line near `sotto import`, something like:

sotto export --format dotenv --reveal   # print a .env; refuses a terminal without --reveal

One sentence of prose is enough: export writes plaintext, so it needs `--reveal` on a terminal, same as `sotto get`.

British English, no em dashes. Keep the import line as it is.

Out of scope

Do not change export formats, default format, or the `--reveal` gate. Do not add JSON/YAML examples.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions