Skip to content

Commit

Permalink
feat(lib): pass file path by position argument
Browse files Browse the repository at this point in the history
  • Loading branch information
snowyu committed Aug 31, 2024
1 parent f4202ca commit 083cc51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/file.ai.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 0.2.1
version: 0.2.2
type: lib
description: |-
the simple text file loader. You can use environment variables in file path, eg, "$HOME/documents/document.md".
Expand All @@ -11,6 +11,7 @@ tag:
- prompt
- lib
input:
- 0 # The file path passed by the prompt(position argument)
- content # The file path passed by the prompt
- onlyContent: {type: "boolean"} # Only return the content
output: # the file content
Expand Down

0 comments on commit 083cc51

Please sign in to comment.