-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(file): add line args #46
base: main
Are you sure you want to change the base?
Conversation
Nice idea! How do you think to smplify to one lines arg:
|
Yeah I think that's nicer. And in case only the starting/ending line was defined, should we assume that the user want to copy from line 0/to the end? |
bc8f350
to
ae8999b
Compare
Waiting on this change to adopt this library, any estimates of when this will be published? Also from personal experience using a similar library on this project https://github.com/MionKit/mion. <!-- automd:file src="./example.ts" code dlimiter="//######myFunction" -->
<!-- /automd --> This would extract anything between the delimiter // file ./example.ts
export const token = '1';
// ######myFunction
export function myFunction() {
// code here
}
// ######myFunction This example would only import the src code within the delimiters (myFunction). willing to work on it after this PR get merged |
π Linked issue
N/A
β Type of change
π Description
Add line to limit the amount of content copy over.
Im not sure if their name fit. I'll add docs after the args' name are finalized.
π Checklist