Skip to content

feat: replace configure by profile --configure#28

Merged
leonkenneth merged 2 commits into
mainfrom
feat-replace-configure-by-profile-configure
Jul 9, 2026
Merged

feat: replace configure by profile --configure#28
leonkenneth merged 2 commits into
mainfrom
feat-replace-configure-by-profile-configure

Conversation

@leonkenneth

@leonkenneth leonkenneth commented Jul 8, 2026

Copy link
Copy Markdown
Contributor
  • Remove multiple "show auth/profile info" commands to

altertable profile show

Optionally altertable profile show --config shows additional info for cli config (config dir, secret store, etc.)

  • Remove multiple "configure" commands to

altertable profile --configure - interactive
alerttable profile --configure --api-key --env for inline

  • Make profile status always verify as it's the only use-case now (all other info is in show)

  • Keep login/logout top-level

End usage:

USAGE altertable profile [OPTIONS] create|list|show|status|use|switch|current|env|direnv|delete

@leonkenneth leonkenneth force-pushed the feat-replace-configure-by-profile-configure branch from 405b82b to 9912d30 Compare July 9, 2026 10:01
@leonkenneth leonkenneth marked this pull request as ready for review July 9, 2026 10:18
@leonkenneth leonkenneth marked this pull request as draft July 9, 2026 10:19
@leonkenneth leonkenneth force-pushed the feat-replace-configure-by-profile-configure branch from 9912d30 to 7dafa75 Compare July 9, 2026 10:41
@leonkenneth leonkenneth force-pushed the feat-replace-configure-by-profile-configure branch from 7dafa75 to 6260f91 Compare July 9, 2026 10:45
@leonkenneth leonkenneth marked this pull request as ready for review July 9, 2026 10:46
Comment thread cli/src/lib/auth.ts

throw new ConfigurationError(
"No credentials. Run 'altertable configure' or set ALTERTABLE_LAKEHOUSE_USERNAME/PASSWORD (or ALTERTABLE_BASIC_AUTH_TOKEN).",
"No credentials. Run 'altertable profile --configure' or set ALTERTABLE_LAKEHOUSE_USERNAME/PASSWORD (or ALTERTABLE_BASIC_AUTH_TOKEN).",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to promote login here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I'll do it as a followup

@leonkenneth leonkenneth merged commit fcf05b5 into main Jul 9, 2026
9 checks passed
@leonkenneth leonkenneth deleted the feat-replace-configure-by-profile-configure branch July 9, 2026 11:45
@github-actions github-actions Bot mentioned this pull request Jul 9, 2026
francoischalifour added a commit that referenced this pull request Jul 9, 2026
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2026-07-09)


### Features

* add `altertable duckdb` command
([#27](#27))
([e114b11](e114b11))
* add `schema` command
([#21](#21))
([f713a80](f713a80))
* add first-class profile workflows and OAuth login profiles
([#23](#23))
([3ce655f](3ce655f))
* add one-shot shell completion installer
([#9](#9))
([3984fe8](3984fe8))
* auto-provision ephemeral lakehouse credentials after login
([#22](#22))
([d9d815f](d9d815f))
* avoid `--statement` flag for query
([#26](#26))
([23c5dc8](23c5dc8))
* **cli:** add origin-aware CLI update command
([#18](#18))
([5077028](5077028))
* **cli:** support lakehouse upsert endpoint
([#5](#5))
([d6ec3b8](d6ec3b8))
* implement `login` command
([#20](#20))
([1300577](1300577))
* improve human and agent experience
([#8](#8))
([135414f](135414f))
* refine shell completion UX
([#33](#33))
([bd2c605](bd2c605))
* replace `configure` by `profile --configure`
([#28](#28))
([fcf05b5](fcf05b5))


### Bug Fixes

* **api:** normalize api args to ensure the HTTP verb is optional
([#11](#11))
([78b32df](78b32df))
* **api:** prevent wide API tables from soft-wrapping
([#13](#13))
([56fbeb6](56fbeb6))
* **ci:** verify executable step path
([#1](#1))
([4044001](4044001))
* **cli:** remove active context from usage output
([#32](#32))
([9d2a4ad](9d2a4ad))
* **lakehouse:** allow append task without append row flags
([#19](#19))
([6ded957](6ded957))
* main concurrent merge issue
([#37](#37))
([335252c](335252c))
* tighten body validation and stream timeout handling
([#16](#16))
([4c4ce08](4c4ce08))
* validate lakehouse upload files before streaming the payload
([#15](#15))
([0e49b6e](0e49b6e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants