Comments (1)
This command should be something like:
pyzet show --remote
And the output should be the full link to the zettel ID (e.g. 20220416171827
) folder:
https://github.com/username/zet/tree/main/zettels/20220416171827
However, the construction of this link is different for different Git hostings. E.g. for Gitlab:
https://gitlab.com/username/zet/-/tree/main/zettels/20220416171827
or Bitbucket:
https://bitbucket.org/username/zet/src/main/zettels/20220416171827
One solution is to add a new field to the config file where the user can configure the base link for his hosting.
Alternatively, pyzet can parse the remote link and support some most popular choices (e.g. the three mentioned above).
Or, even better solution is to support the most popular platforms (with possible extending of them in the future) along with a new optional field in the config file that should be used for more niche hostings.
This will require some more work, but is probably worth it.
from pyzet.
Related Issues (20)
- Installation instructions are too hidden in the readme
- Add `keywords` to `setup.cfg`
- Extend `pyzet sample-config` to provide sane defaults also for Windows
- Add issue links in the changelog HOT 1
- `pyzet init foo` fails with `AttributeError: 'str' object has no attribute 'exists'`
- Add `pyzet remote` command
- Allow for changing the initial branch name in `pyzet init`
- Allow for ZK layout without `zettels` folder HOT 1
- Allow for optional zettel title passed with `pyzet add` HOT 1
- `OSError: [Errno 36] File name too long` when opening zettels HOT 1
- `pyzet grep -t` shows every line which starts with `#` HOT 1
- Support extended regular expressions in `pyzet grep` HOT 1
- `pyzet remote`: include `-v` flag by default
- Move 'Zettel formatting rules and guidelines' to a separate Markdown file HOT 1
- Simplify 'Supported editors' section HOT 1
- Auto-squash commits after multiple edits to the same zettel in a row HOT 2
- Get rid of `git` config field
- Allow for passing editor CLI arguments
- [pyzet remote] Convert SSH remote URLs into HTTPS URLs
- Allow for auto-downloading of images referenced with Markdown syntax
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyzet.