jaredhanson / jaredhanson/rivet

External task import.

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Am trying to figure how to use external tasks. Is the method below the correct way?

tasks.js

```
module.exports = function(rivet) {
require('./hello.js')(rivet);
}
```

hello.js

```
module.exports = function(rivet) {
rivet.desc('say hello');
rivet.task('hello', function() {
console.log('Hello!');
});
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the external-task example in tasks.js and hello.js, then inspect the repository's documented task-loading entry points. Determine whether this module pattern is supported and document the correct usage or expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, tooling
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.