digital-science / dimcli

Python client and CLI for scientometrics and research analytics using the Dimensions API.
https://digital-science.github.io/dimcli/getting-started.html
MIT License
43 stars 6 forks source link

Allow variable in magic commands #62

Open lambdamusic opened 4 years ago

lambdamusic commented 4 years ago

Similarly to https://github.com/catherinedevlin/ipython-sql/issues/120 eg by using a : prefixed keyword

See also https://ipython.readthedocs.io/en/stable/config/custommagics.html#accessing-user-namespace-and-local-scope