Count flag is broken in runtime command action list
- Dominant language
- JavaScript
- Stars
- 95
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
### Expected Behaviour
aio runtime action list -c=2
... 2 actions listed
### Actual Behaviour
› Error: failed to list the actions: the requested resource does not exist. (404 Not Found)
› specify --verbose flag for more information
### Reproduce Scenario (including but not limited to)
#### Steps to Reproduce
#### Environment Info
```
System:
OS: macOS 15.1.1
CPU: (10) arm64 Apple M1 Max
Memory: 1006.25 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.10.0 - ~/.nvm/versions/node/v22.10.0/bin/node
Yarn: 1.22.19 - ~/.bun/bin/yarn
npm: 10.9.0 - ~/.nvm/versions/node/v22.10.0/bin/npm
Virtualization:
Docker: 20.10.17 - /usr/local/bin/docker
npmGlobalPackages:
@adobe/aio-cli: 10.3.1
```
#### Sample Code that illustrates the problem
#### Logs taken while reproducing problem
Contributor guide
Research direction
Start by locating the runtime action list command and its -c/--count option, then reproduce the reported command: aio runtime action list -c=2. Trace why requesting a count produces the 404 error; done means the command lists two actions instead of failing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100