question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`create` directive?

See original GitHub issue

I love the simplicity of how symlinking works, but is it possible to add a create directive, which would create a directory (and any parent directories, if necessary), without symlinking? Right now I’m running this as a shell command:

  - description: Creating vim undo cache
    command: "[ -d ~/.vim/undo ] || mkdir ~/.vim/undo"

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
anishathalyecommented, Oct 6, 2019

Sounds good. Let’s leave out the file option until someone has a use case for it.

Let me know when your PR is ready for review 😃

On Oct 6, 2019, at 12:51 PM, Jesse Leite notifications@github.com wrote:

Fair enough, I can leave the options out. Even the file: true option could be left out until someone presents a valid use case for it. I figured it could be useful, but don’t have a concrete use case example.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

0reactions
jesseleitecommented, Oct 15, 2019

Closes by #200.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Attribute directives - Angular
To create a directive, use the CLI command ng generate directive . · Import ElementRef from @angular/core . · Add ElementRef in the...
Read more >
How to use and create custom directives in Angular
Creating a custom directive is just like creating an Angular component. To create a custom directive we have to replace @Component decorator ...
Read more >
Creating a Custom Directive • Angular - codecraft.tv
We create a directive by decorating a class with the @Directive decorator. The convention is to associate a directive to an element via...
Read more >
How to Create & Use Custom Directive In Angular
The Angular has several built-in attribute directives. Let us create a ttClass directive, which allows us to add class to an element. Similar...
Read more >
Angular Directive Tutorial With Example | Custom Directives
A simple structural angular directive creates an embedded view from the Angular-generated <ng-template> and inserts that view in a view ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found