mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-20 14:13:07 +00:00
10 lines
345 B
CoffeeScript
10 lines
345 B
CoffeeScript
server = require('../server/server')
|
|
|
|
exports.list = ->
|
|
|
|
# TODO: The details of requesting the API should be handled
|
|
# by the models. Make use of them once they are implemented
|
|
server.get '/ewa/application?$orderby=app_name%20asc&$expand=device', (error, response) ->
|
|
for app in response.body.d
|
|
console.log "#{app.id} - #{app.app_name}"
|