Neeraj Gupta
7c7299aa09
CLI: Allow setting secrets path via env var ( #2426 )
...
## Description
Adds a new enviroment variable `ENTE_CLI_SECRETS_PATH`, that allows
specifying the path to a `secrets.txt` like the one used in the
dockerized version. If no path is provided, the old behaviour is
maintained.
The configuration variable and behaviour is analog to the already
present `ENTE_CONFIG_PATH` variable, which allows specifying a
configuration.
This provides a solution for people running without gnome-keyring
(https://github.com/ente-io/ente/issues/722 and
https://github.com/ente-io/ente/issues/1328 )
2024-07-24 11:31:41 +05:30
dnred
faee7cc642
fix typo in CLI readme
2024-07-13 13:02:41 +02:00
Nicholas DiMucci
33dcf48127
Fix typo with ente account url in cli.
2024-07-12 21:05:38 -04:00
Manav Rathi
0ea408379a
[server] [cli] Fix docker "FROM AS" case warnings
...
With the latest Docker update (27.0.3), it now warns about the "FROM" and "AS"
in the Dockerfile not matching. E.g. when building the server docker image:
> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
2024-07-12 11:19:37 +05:30
Pablo Ovelleiro Corral
97b5577d68
CLI: Allow setting secrets path via env var
...
Adds a new enviroment variable `ENTE_CLI_SECRETS_PATH`, that allows
specifying the path to a `secrets.txt` like the one used in the
dockerized version. If no path is provided, the old behaviour is maintained.
2024-07-11 18:38:52 +02:00
Neeraj Gupta
169e70cc0f
[cli] Bump version cli-v0.1.17
2024-06-23 10:38:00 +05:30
Neeraj Gupta
fccf7e3149
[cli] Update docs
2024-06-22 20:48:35 +05:30
Neeraj Gupta
4042a5876e
[cli] improve log
2024-06-22 20:48:02 +05:30
Neeraj Gupta
e77ebef801
[cli] Add admin cmd to disable passkey
2024-06-22 17:54:06 +05:30
Neeraj Gupta
dd3d9c8d51
[cli] Bump version 0.1.16
2024-06-18 14:37:38 +05:30
Neeraj Gupta
58b9121e52
Add support to handle passkey verification
2024-06-18 14:36:15 +05:30
Neeraj Gupta
dcbdeca64e
[cli] Print help when no command is specified
2024-06-18 14:25:21 +05:30
Neeraj Gupta
ecb0d47055
[cli] Helper method to open url in browser
2024-06-18 14:15:31 +05:30
Neeraj Gupta
896d7402b4
[cli] Bump version
2024-06-11 11:58:01 +05:30
Neeraj Gupta
55a16d053a
[cli] Inc wait time for retry
2024-06-11 11:57:37 +05:30
Neeraj Gupta
9a1254b745
[cli] Log selected headers on download failure
2024-06-11 11:57:22 +05:30
Neeraj Gupta
d6c4d5f87f
[cli] Fix: retry download on 500
2024-06-11 11:37:17 +05:30
Neeraj Gupta
f4d44e484d
[cli] Update README
2024-06-06 08:51:12 +05:30
Neeraj Gupta
4674ab63e9
[cli] Fix Ente Auth export decryption
2024-05-31 21:29:17 +05:30
Neeraj Gupta
f097535756
[cli] Improve ente account add doc
2024-05-06 15:53:47 +05:30
Neeraj Gupta
d8e917ac40
[cli] Hint user to create a account before adding to cli
2024-05-06 15:51:15 +05:30
Manav Rathi
977d212be6
Add a notice about ente account add
2024-05-03 09:42:17 +05:30
Neeraj Gupta
a51a965fc8
[cli] Fix handling of delete file with stale colleciton entry ( #1259 )
...
## Description
## Tests
Tested locally
2024-03-30 14:14:03 +05:30
Neeraj Gupta
bc45db51a9
[cli] Improve logging for decryption error ( #1242 )
...
## Description
Related to #1237
## Tests
2024-03-29 11:08:45 +05:30
Neeraj Gupta
80498340b6
[cli] Mark docs/generated as generated for Github
2024-03-14 16:20:47 +05:30
Neeraj Gupta
9c04c8fbe6
[cli] Generate docs
2024-03-14 16:18:37 +05:30
Neeraj Gupta
bc47368a01
[cli] Add API to delete-user
2024-03-14 16:18:08 +05:30
Neeraj Gupta
6af62d8727
[cli] Add admin disable-2fa cmd
2024-03-14 16:13:11 +05:30
Neeraj Gupta
da3c6a78d4
[cli] Make it optional to pass adminUser when only one account is configured
2024-03-14 16:01:40 +05:30
Neeraj Gupta
324eeed1c5
[cli] Add admin list-user cmd
2024-03-14 15:53:26 +05:30
Manav Rathi
c18115ef52
Fix link
2024-03-14 10:48:25 +05:30
Manav Rathi
7fabb3a03c
[meta] Document the tag format, and call out the need to keep tag == title
...
Related: https://github.com/ente-io/ente/discussions/1087#discussioncomment-8775807
2024-03-14 09:50:08 +05:30
Neeraj Gupta
e42422407c
[cli] Pick version from the github tag
2024-03-13 11:43:19 +05:30
Neeraj Gupta
2711a227fc
[cli] Update gen docs + add docs/selfhost.md
2024-03-13 11:43:19 +05:30
Neeraj Gupta
0678e3129a
[cli] generated docs
2024-03-13 02:03:44 +05:30
Neeraj Gupta
b164b0df21
[cli] By default, update sub to high storage & expiry
2024-03-13 02:03:44 +05:30
Neeraj Gupta
0d38346722
[cli] Add admin API to bump up storage for free users
2024-03-13 02:03:44 +05:30
Neeraj Gupta
51d3238a52
[cli] Log query params in debug mode
2024-03-13 02:03:44 +05:30
Neeraj Gupta
ddd89aa1d1
[cli] Log query params in debug mode
2024-03-13 02:03:44 +05:30
Neeraj Gupta
f21a627a71
Add cli generated docs inside docs/generated
2024-03-13 02:03:44 +05:30
Neeraj Gupta
063e980280
[cli] Add command to get-token
2024-03-13 02:03:44 +05:30
Neeraj Gupta
d7d42b6854
[cli] Add example config file
2024-03-13 02:03:44 +05:30
Neeraj Gupta
260a7fbcaa
[cli] Allow switching API host based on config
2024-03-13 02:03:44 +05:30
Manav Rathi
239d7f33ed
Document BuildKit requirement
...
See https://github.com/ente-io/ente/issues/712
2024-03-07 12:56:58 +05:30
Manav Rathi
85af7f920c
Improve CLI documentation
2024-03-07 12:53:12 +05:30
Manav Rathi
2101d06d32
export CGO_ENABLED=0
...
The configuration used by goreleaser (which we previously used to build the
release binaries) had set CGO_ENABLED=0. Since we don't specifically need this
to be on, revert to that configuration.
Also add a few more go build flags to reduce the size of the produced binaries
Ref:
- https://github.com/wangyoucao577/go-release-action/issues/33
- https://github.com/wangyoucao577/go-release-action
- https://github.com/ente-io/cli/blob/main/.goreleaser.yaml#L18
Related:
- https://github.com/ente-io/ente/issues/727
2024-03-07 12:00:17 +05:30
Manav Rathi
b70ca6bec2
Remove environment variable unset
...
exports don't survive the shell script
2024-03-07 11:15:45 +05:30
Manav Rathi
636454faa2
Use the tag: qualifier to better filter the releases
...
We still need to provide at least the major version, and we'll need to remember
to update these links when the major version changes.
Ref:
- https://docs.github.com/en/repositories/releasing-projects-on-github/searching-a-repositorys-releases
2024-03-06 14:42:49 +05:30
Manav Rathi
a4618faa55
[cli] Update the link to the CLI downloads in README
2024-03-06 10:37:16 +05:30
Manav Rathi
00253a923a
Remove goreleaser config since we're not using it anymore
2024-03-05 16:21:43 +05:30