coral-xyz / anchor

⚓ Solana Sealevel Framework
https://anchor-lang.com
Apache License 2.0
3.36k stars 1.25k forks source link

feature request: support relative paths for `anchor idl init` #2993

Open jim4067 opened 1 month ago

jim4067 commented 1 month ago

anchor idl init fails with relative paths.

For example, If I am in the target/idl/ directory and try to upload my idl anchor idl init program_idl.json program_id_here, the command fails with

Error: No such file or directory (os error 2)
programskillforverification commented 1 month ago

Is still available? If so, could you assign it to me?