pcdshub / pcdshub/shared-dotfiles
Add which_happi or similar
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3
- Forks
- 15
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 1
Description
(Thought up by @tangkong)
For a table:
cat /cds/group/pcds/pyps/apps/hutch-python/device_config/db.json | jq '[ to_entries[] | .value ]' | json-to-table - --columns name beamline --sort-key name
JSON information could be readily retrieved with just jq from the database
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the shown jq and json-to-table command against /cds/group/pcds/pyps/apps/hutch-python/device_config/db.json, then inspect the shared shell configuration for the appropriate entry point. Determine whether which_happi or a similar command belongs in this repository and define completion as a usable way to retrieve and tabulate the database's JSON information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json, shell
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100