manticoresoftware / manticoresoftware/clt

Reusable blocks in the interactive mode

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Svelte
Stars
8
Forks
3
Avg merge
2d 10h
Merged PRs (30d)
2

Description

From: https://gitlab.com/manticoresearch/clt/-/issues/10

We now have support for reusable blocks, but we should also incorporate this feature into interactive mode.

The task involves:
1. Contemplating possible implementation methods.
2. As proposed, we could utilize an injected helper with a block function placed in bashrc to assist us in locating and executing the block.
3. The block should not only be saved in the rec file as an included block, but it should also be executed because it may be a prerequisite for the subsequent action.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the interactive mode and the existing reusable-block support, then review how bashrc helpers and the rec file are used. Define an implementation approach before coding: a reusable block should be locatable and executed in interactive mode, saved as an included block in the rec file, and available as a prerequisite for the next action.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
cli, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.