ARK-Builders / ARK-Builders/ark-core

`ark-cli`: Sorting by storage values

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Sorting should be configurable. Right now it sorts by resource id:
```
$ ark-cli list -s --sort=asc
Loading app id at /home/kirill/.ark...
18-1909444406 with score 2
22-207093268 with score 15
30-4257856154 with score NO_SCORE
38-103010298 with score 10
```

Contributor guide

Open the contributing guide

Research direction

Start by locating the ark-cli implementation of the `list` command and its current resource-id sorting, then run `ark-cli list -s --sort=asc` to reproduce the displayed order. Configure sorting by storage values while preserving ascending and descending behavior, and verify that scored and `NO_SCORE` entries are ordered as intended.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.